Fix coral and kelp duping with mesecons' sticky piston (#3062)

This commit is contained in:
Zemtzov7 2023-09-16 17:52:07 +05:00 committed by GitHub
parent 59da46c80b
commit eba9012d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
})