diff --git a/init.lua b/init.lua index 6b0a41b..7bcbaea 100644 --- a/init.lua +++ b/init.lua @@ -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 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 ENABLE_HORIZONTAL_PILLAR then -- Quartz Pillar (horizontal) minetest.register_node("quartz:pillar_horizontal", { description = "Quartz Pillar Horizontal", diff --git a/settings.txt b/settings.txt index 246021e..7bed3f8 100644 --- a/settings.txt +++ b/settings.txt @@ -1,7 +1,7 @@ -- Set this to true to allow usage of the stairsplus mod in moreblocks -enable_stairsplus = false +ENABLE_STAIRSPLUS = false -- This enables the old horizontal pillar block(deprecated, be sure to convert them back to normal pillars) -enable_horizontal_pillar = true +ENABLE_HORIZONTAL_PILLAR = true