yet another fork update #9

Merged
chmodsayshello merged 760 commits from VoxeLibre/VoxeLibre:master into master 2023-03-26 20:27:31 +02:00
1 changed files with 2 additions and 7 deletions
Showing only changes of commit 46ca650ea4 - Show all commits

View File

@ -41,14 +41,9 @@ minetest.register_craftitem("mcl_honey:honeycomb", {
end
local node = minetest.get_node(pointed_thing.under)
local pos = pointed_thing.under
local node_name = node.name
local def = minetest.registered_nodes[node_name]
if def and def._mcl_copper_waxed_variant then
-- wax the copper block.
return mcl_honey.wax_block(pos, node, placer, itemstack)
end
-- wax the block. This is the only viable usage of honeycomb's on_place. If it "fails" to wax, then nothing is changed.
return mcl_honey.wax_block(pos, node, placer, itemstack)
end,
})