From f66a241188723a3da36d55ca33fd821e04b382ea Mon Sep 17 00:00:00 2001 From: cora Date: Tue, 15 Nov 2022 20:31:49 +0100 Subject: [PATCH] turn villagers to z villagers not normal zs --- mods/ENTITIES/mobs_mc/villager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/villager.lua b/mods/ENTITIES/mobs_mc/villager.lua index 55b30337f..a7b7d9852 100644 --- a/mods/ENTITIES/mobs_mc/villager.lua +++ b/mods/ENTITIES/mobs_mc/villager.lua @@ -2073,8 +2073,8 @@ mcl_mobs:register_mob("mobs_mc:villager", { if cmi_cause and cmi_cause.puncher then local l = cmi_cause.puncher:get_luaentity() - if l and math.random(2) == 1 and( l.name == "mobs_mc:zombie" or l.name == "mobs_mc:baby_zombie" or l.name == "mobs_mc:zombie_villager") then - mcl_util.replace_mob(self.object,"mobs_mc:zombie") + if l and math.random(2) == 1 and( l.name == "mobs_mc:zombie" or l.name == "mobs_mc:baby_zombie" or l.name == "mobs_mc:villager_zombie" or l.name == "mobs_mc:husk") then + mcl_util.replace_mob(self.object,"mobs_mc:villager_zombie") return true end end