Merge pull request 'Fix right click on copper crash' (#3076) from bugfix/fix_copper_right_click into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3076
Reviewed-by: AFCMS <afcm.contact@gmail.com>
This commit is contained in:
AFCMS 2022-12-07 17:27:47 +00:00
commit 2b46dd60c5

View file

@ -122,7 +122,7 @@ minetest.register_node("mcl_copper:waxed_block_oxidized", {
sounds = mcl_sounds.node_sound_metal_defaults(),
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
on_rightclick = function(pos, node, player, itemstack) scraping_copper_block(pos, node, player, itemstack, "mcl_copper:block_weather") end,
on_rightclick = function(pos, node, player, itemstack) scraping_copper_block(pos, node, player, itemstack, "mcl_copper:block_weathered") end,
})
minetest.register_node("mcl_copper:block_cut", {