Zombie villagers cannot despawn during curing process

This commit is contained in:
ancientmarinerdev 2023-01-04 20:38:17 +00:00 committed by Gitea
parent b0264b2736
commit d6d11b9526

View File

@ -109,6 +109,7 @@ mcl_mobs.register_mob("mobs_mc:villager_zombie", {
clicker:set_wielded_item(wielditem)
self._curing = math.random(3 * 60, 5 * 60)
self.shaking = true
self.can_despawn = false
end
end
end,