From 92f49e3096dc37b9b802994d287c47dc7f583c24 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 11 Aug 2016 18:39:55 -0400 Subject: updated boost_cart, plantlife, castle, homedecor, fake_fire, glooptest, quartz, unified_inventory, inbox, mesecons, and worldedit mods --- quartz/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quartz/init.lua') diff --git a/quartz/init.lua b/quartz/init.lua index 7bcbaea..63be0c5 100644 --- a/quartz/init.lua +++ b/quartz/init.lua @@ -1,4 +1,4 @@ -dofile(minetest.get_modpath("quartz").."/settings.txt") +local settings = Settings(minetest.get_modpath("quartz").."/settings.txt") -- -- Item Registration @@ -153,7 +153,7 @@ minetest.register_abm({ -- Compatibility with stairsplus -- -if minetest.get_modpath("moreblocks") and ENABLE_STAIRSPLUS then +if minetest.get_modpath("moreblocks") and settings:get_bool("ENABLE_STAIRSPLUS") then register_stair_slab_panel_micro("quartz", "block", "quartz:block", {cracky=3}, {"quartz_block.png"}, @@ -187,7 +187,7 @@ end -- Deprecated -- -if ENABLE_HORIZONTAL_PILLAR then +if settings:get_bool("ENABLE_HORIZONTAL_PILLAR") then -- Quartz Pillar (horizontal) minetest.register_node("quartz:pillar_horizontal", { description = "Quartz Pillar Horizontal", -- cgit v1.2.3