remove htimer reference
This commit is contained in:
parent
d3066e2c4b
commit
810b8531f2
5
api.lua
5
api.lua
@ -1141,11 +1141,6 @@ end
|
|||||||
-- environmental damage (water, lava, fire, light etc.)
|
-- environmental damage (water, lava, fire, light etc.)
|
||||||
function mob_class:do_env_damage()
|
function mob_class:do_env_damage()
|
||||||
|
|
||||||
-- feed/tame text timer (so mob 'full' messages dont spam chat)
|
|
||||||
if self.htimer > 0 then
|
|
||||||
self.htimer = self.htimer - 1
|
|
||||||
end
|
|
||||||
|
|
||||||
self:update_tag()
|
self:update_tag()
|
||||||
|
|
||||||
local pos = self.object:get_pos() ; if not pos then return end
|
local pos = self.object:get_pos() ; if not pos then return end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user