mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
fix minor bug.
This commit is contained in:
parent
d04f162d8f
commit
425cf53194
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ function waxing_copper_block(pos, node, player, itemstack, convert_to)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local def = minetest.registered_nodes(node.name)
|
local def = minetest.registered_nodes[node.name]
|
||||||
|
|
||||||
if def and def._mcl_copper_waxed_variant then
|
if def and def._mcl_copper_waxed_variant then
|
||||||
node.name = def._mcl_copper_waxed_variant
|
node.name = def._mcl_copper_waxed_variant
|
||||||
|
@ -73,7 +73,7 @@ function scraping_copper_block(pos, node, player, itemstack, convert_to)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local def = minetest.registered_nodes(node.name)
|
local def = minetest.registered_nodes[node.name]
|
||||||
|
|
||||||
if def and def._mcl_copper_unwaxed_variant then
|
if def and def._mcl_copper_unwaxed_variant then
|
||||||
node.name = def._mcl_copper_unwaxed_variant
|
node.name = def._mcl_copper_unwaxed_variant
|
||||||
|
|
Loading…
Reference in a new issue