mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Zombie villagers cannot despawn during curing process
This commit is contained in:
parent
b0264b2736
commit
d6d11b9526
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ mcl_mobs.register_mob("mobs_mc:villager_zombie", {
|
||||||
clicker:set_wielded_item(wielditem)
|
clicker:set_wielded_item(wielditem)
|
||||||
self._curing = math.random(3 * 60, 5 * 60)
|
self._curing = math.random(3 * 60, 5 * 60)
|
||||||
self.shaking = true
|
self.shaking = true
|
||||||
|
self.can_despawn = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in a new issue