From 05c082cb0ac59fdc0225f7482fc89e5a67483960 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 20 Dec 2023 19:10:15 +0100 Subject: [PATCH] Apply suggestions from code review --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 6a794f2..2da37d3 100644 --- a/init.lua +++ b/init.lua @@ -45,8 +45,8 @@ end -- Returns the crafting recipe table for a given material and item. local function get_recipe(material, item) if is_mcl_core_present then - material = material:gsub("default:", "mcl_core:") - end + material = material:gsub("default:", "mcl_core:") + end if item == "sword" then return {