From 425cf53194654cdc174282de623e99cd9659fa42 Mon Sep 17 00:00:00 2001 From: Michieal Date: Mon, 30 Jan 2023 23:57:50 -0500 Subject: [PATCH] fix minor bug. --- mods/ITEMS/mcl_copper/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_copper/functions.lua b/mods/ITEMS/mcl_copper/functions.lua index 348b9a995..fda6a24d1 100644 --- a/mods/ITEMS/mcl_copper/functions.lua +++ b/mods/ITEMS/mcl_copper/functions.lua @@ -48,7 +48,7 @@ function waxing_copper_block(pos, node, player, itemstack, convert_to) return end - local def = minetest.registered_nodes(node.name) + local def = minetest.registered_nodes[node.name] if def and def._mcl_copper_waxed_variant then node.name = def._mcl_copper_waxed_variant @@ -73,7 +73,7 @@ function scraping_copper_block(pos, node, player, itemstack, convert_to) return end - local def = minetest.registered_nodes(node.name) + local def = minetest.registered_nodes[node.name] if def and def._mcl_copper_unwaxed_variant then node.name = def._mcl_copper_unwaxed_variant