mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Adjust grass replace timer
This commit is contained in:
parent
74e55ca361
commit
91d94800d7
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ function mob_class:replace_node(pos)
|
|||
self.state = "eat"
|
||||
self:set_animation("eat")
|
||||
self:set_velocity(0)
|
||||
minetest.after(1.5, function()
|
||||
minetest.after(1.3, function()
|
||||
if self and self.object and not self.dead then
|
||||
self.object:set_velocity(vector.new(0,0,0))
|
||||
minetest.set_node(pos, newnode)
|
||||
|
|
Loading…
Reference in a new issue