mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Punch node after change
This commit is contained in:
parent
e49eac6d85
commit
5e4fa30aae
1 changed files with 1 additions and 1 deletions
|
@ -525,10 +525,10 @@ function mob_class:replace_node(pos)
|
|||
minetest.after(self.replace_delay, function()
|
||||
if self and self.object and self.object:get_velocity() and self.health > 0 then
|
||||
minetest.set_node(pos, newnode)
|
||||
minetest.punch_node(pos)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue