forked from mtcontrib/mobs_redo
added missing return value to do_env_damage
This commit is contained in:
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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user