mirror of
https://github.com/minetest-mods/moreores.git
synced 2024-11-15 23:00:35 +01:00
Apply suggestions from code review
This commit is contained in:
parent
01fc89df62
commit
05c082cb0a
4
init.lua
4
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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user