Don't error if default mod is not available (#14)
This commit is contained in:
parent
78611b3ccd
commit
f00f97d4ec
2
init.lua
2
init.lua
@ -20,7 +20,7 @@ else -- fallback, assume default (Minetest Game) is loaded
|
||||
moditems.iron_item = "default:steel_ingot" -- MTG iron ingot
|
||||
moditems.coal_item = "default:coalblock" -- MTG coal block
|
||||
moditems.green_dye = "dye:dark_green" -- MTG version of green dye
|
||||
moditems.sounds = default.node_sound_defaults
|
||||
moditems.sounds = default and default.node_sound_defaults
|
||||
moditems.trashcan_infotext = S("Trash Can")
|
||||
moditems.dumpster_infotext = S("Dumpster")
|
||||
moditems.boxart = ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user