From a3cded01337ca6acfe660c610ed43ac66ce2fea2 Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Mon, 5 Dec 2022 00:13:49 +0000 Subject: [PATCH] Fix zombie siege calling gopath incorrectly --- mods/ENVIRONMENT/mcl_zombie_sieges/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENVIRONMENT/mcl_zombie_sieges/init.lua b/mods/ENVIRONMENT/mcl_zombie_sieges/init.lua index 8a43b0e7e8..bf6e17dfab 100644 --- a/mods/ENVIRONMENT/mcl_zombie_sieges/init.lua +++ b/mods/ENVIRONMENT/mcl_zombie_sieges/init.lua @@ -11,7 +11,7 @@ local function spawn_zombies(self) if check_spawn_pos(p) then local m = mcl_mobs.spawn(p,"mobs_mc:zombie") local l = m:get_luaentity() - mcl_mobs:gopath(m:get_luaentity(),self.pos) + l:gopath(self.pos) table.insert(self.mobs,m) self.health_max = self.health_max + l.health end