fix angry animal attack

This commit is contained in:
TenPlus1 2015-11-14 19:05:09 +00:00
parent 3556f746fb
commit 841ed401fd

10
api.lua
View File

@ -1464,12 +1464,12 @@ minetest.register_entity(name, {
}) })
self.pause_timer = r self.pause_timer = r
set_animation(self, "stand") --set_animation(self, "stand")
self.state = "nada" -- temporary state --self.state = "nada" -- temporary state
minetest.after(r, function() --minetest.after(r, function()
self.state = "stand" --self.state = "stand"
end) --end)
end end
-- attack puncher and call other mobs for help -- attack puncher and call other mobs for help