fix angry animal attack
This commit is contained in:
parent
3556f746fb
commit
841ed401fd
10
api.lua
10
api.lua
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user