Apply suggestions from code review
This commit is contained in:
parent
c5e2bd5043
commit
01fc89df62
4
init.lua
4
init.lua
|
@ -95,8 +95,8 @@ end
|
||||||
local function add_ore(modname, description, mineral_name, oredef)
|
local function add_ore(modname, description, mineral_name, oredef)
|
||||||
|
|
||||||
if mineral_name == "copper" and is_mcl_copper_present then
|
if mineral_name == "copper" and is_mcl_copper_present then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local img_base = modname .. "_" .. mineral_name
|
local img_base = modname .. "_" .. mineral_name
|
||||||
local toolimg_base = modname .. "_tool_"..mineral_name
|
local toolimg_base = modname .. "_tool_"..mineral_name
|
||||||
|
|
Loading…
Reference in New Issue