From d6d11b95261e6ccfd623dd9df3bc70eeedeeb9f6 Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Wed, 4 Jan 2023 20:38:17 +0000 Subject: [PATCH] Zombie villagers cannot despawn during curing process --- mods/ENTITIES/mobs_mc/villager_zombie.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ENTITIES/mobs_mc/villager_zombie.lua b/mods/ENTITIES/mobs_mc/villager_zombie.lua index 9a1e30e703..8571d52a3d 100644 --- a/mods/ENTITIES/mobs_mc/villager_zombie.lua +++ b/mods/ENTITIES/mobs_mc/villager_zombie.lua @@ -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,