Don't error if default mod is not available (#14)

This commit is contained in:
Maksym H 2022-10-29 22:38:10 +03:00 committed by GitHub
parent 78611b3ccd
commit f00f97d4ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = ""