mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-24 09:40:21 +01:00
added missing return value to do_env_damage
This commit is contained in:
parent
ad5b444b65
commit
9f5e6eb85f
2
api.lua
2
api.lua
@ -971,7 +971,7 @@ function mob_class:do_env_damage()
|
|||||||
pos = pos, node = self.standing_in}) then return true end
|
pos = pos, node = self.standing_in}) then return true end
|
||||||
end
|
end
|
||||||
]]
|
]]
|
||||||
self:check_for_death({type = "unknown"})
|
return self:check_for_death({type = "unknown"})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user