Apply suggestions from code review

This commit is contained in:
Hugo Locurcio 2023-12-20 19:10:15 +01:00 committed by GitHub
parent 01fc89df62
commit 05c082cb0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {