mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-19 05:24:11 +02:00
Fix zombie siege calling gopath incorrectly
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user