mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Fix zombie siege calling gopath incorrectly
This commit is contained in:
parent
2b52eaa6ef
commit
a3cded0133
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue