diff --git a/init.lua b/init.lua index aaec842..a00cf9e 100644 --- a/init.lua +++ b/init.lua @@ -49,7 +49,7 @@ nether.NETHER_REALM_ENABLED = true -- Setting to false disables the Nethe -- Override default settings with values from the .conf file, if any are present. nether.FASTTRAVEL_FACTOR = tonumber(minetest.settings:get("nether_fasttravel_factor") or nether.FASTTRAVEL_FACTOR) nether.PORTAL_BOOK_LOOT_WEIGHTING = tonumber(minetest.settings:get("nether_portalBook_loot_weighting") or nether.PORTAL_BOOK_LOOT_WEIGHTING) -nether.NETHER_REALM_ENABLED = minetest.settings:get_bool("nether_realm_enabled", nether.NETHER_REALM_ENABLED) or nether.NETHER_REALM_ENABLED +nether.NETHER_REALM_ENABLED = minetest.settings:get_bool("nether_realm_enabled", nether.NETHER_REALM_ENABLED) -- Load files @@ -161,4 +161,4 @@ The expedition parties have found no diamonds or gold, and after an experienced end }) -end \ No newline at end of file +end