mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-05 07:13:52 +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
|
||||
end,
|
||||
|
||||
after_destruct = function(pos, oldnode)
|
||||
after_dig_node = function(pos, oldnode, oldmetadata, digger)
|
||||
minetest.set_node(pos, {name = "default:sand"})
|
||||
end
|
||||
})
|
||||
@ -2099,7 +2099,7 @@ minetest.register_node("default:coral_green", {
|
||||
|
||||
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"})
|
||||
end,
|
||||
})
|
||||
@ -2130,7 +2130,7 @@ minetest.register_node("default:coral_pink", {
|
||||
|
||||
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"})
|
||||
end,
|
||||
})
|
||||
@ -2161,7 +2161,7 @@ minetest.register_node("default:coral_cyan", {
|
||||
|
||||
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"})
|
||||
end,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user