mirror of
https://github.com/minetest-mods/moreores.git
synced 2025-07-01 23:50:30 +02:00
Apply suggestions from code review
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user