forked from VoxeLibre/VoxeLibre
Revert add punch node
This commit is contained in:
parent
5e4fa30aae
commit
df8592df41
|
@ -525,7 +525,6 @@ function mob_class:replace_node(pos)
|
||||||
minetest.after(self.replace_delay, function()
|
minetest.after(self.replace_delay, function()
|
||||||
if self and self.object and self.object:get_velocity() and self.health > 0 then
|
if self and self.object and self.object:get_velocity() and self.health > 0 then
|
||||||
minetest.set_node(pos, newnode)
|
minetest.set_node(pos, newnode)
|
||||||
minetest.punch_node(pos)
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue