Fix zombie siege calling gopath incorrectly

This commit is contained in:
ancientmarinerdev 2022-12-05 00:13:49 +00:00
parent 2b52eaa6ef
commit a3cded0133

@ -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