mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 14:12:26 +01:00
Fix coral and kelp duping with mesecons' sticky piston (#3062)
This commit is contained in:
parent
59da46c80b
commit
eba9012d05
@ -2024,7 +2024,7 @@ minetest.register_node("default:sand_with_kelp", {
|
|||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
|
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, {name = "default:sand"})
|
minetest.set_node(pos, {name = "default:sand"})
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
@ -2099,7 +2099,7 @@ minetest.register_node("default:coral_green", {
|
|||||||
|
|
||||||
on_place = coral_on_place,
|
on_place = coral_on_place,
|
||||||
|
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, {name = "default:coral_skeleton"})
|
minetest.set_node(pos, {name = "default:coral_skeleton"})
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
@ -2130,7 +2130,7 @@ minetest.register_node("default:coral_pink", {
|
|||||||
|
|
||||||
on_place = coral_on_place,
|
on_place = coral_on_place,
|
||||||
|
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, {name = "default:coral_skeleton"})
|
minetest.set_node(pos, {name = "default:coral_skeleton"})
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
@ -2161,7 +2161,7 @@ minetest.register_node("default:coral_cyan", {
|
|||||||
|
|
||||||
on_place = coral_on_place,
|
on_place = coral_on_place,
|
||||||
|
|
||||||
after_destruct = function(pos, oldnode)
|
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||||
minetest.set_node(pos, {name = "default:coral_skeleton"})
|
minetest.set_node(pos, {name = "default:coral_skeleton"})
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user