diff --git a/init.lua b/init.lua index d705de2..99fe84f 100644 --- a/init.lua +++ b/init.lua @@ -146,16 +146,18 @@ minetest.register_abm({ --These are deprecated, don't use them ---Quartz Pillar (horizontal) -minetest.register_node("quartz:pillar_horizontal", { - description = "Quartz Pillar Horizontal", - tiles = {"quartz_pillar_side.png", "quartz_pillar_side.png", "quartz_pillar_side.png^[transformR90", - "quartz_pillar_side.png^[transformR90", "quartz_pillar_top.png", "quartz_pillar_top.png"}, - paramtype2 = "facedir", - drop = 'quartz:pillar', - groups = {cracky=3, oddly_breakable_by_hand=1}, - sounds = default.node_sound_glass_defaults(), -}) +if enable_horizontal_pillar then + --Quartz Pillar (horizontal) + minetest.register_node("quartz:pillar_horizontal", { + description = "Quartz Pillar Horizontal", + tiles = {"quartz_pillar_side.png", "quartz_pillar_side.png", "quartz_pillar_side.png^[transformR90", + "quartz_pillar_side.png^[transformR90", "quartz_pillar_top.png", "quartz_pillar_top.png"}, + paramtype2 = "facedir", + drop = 'quartz:pillar', + groups = {cracky=3, oddly_breakable_by_hand=1, not_in_creative_inventory=1}, + sounds = default.node_sound_glass_defaults(), + }) +end --Compatibility with stairsplus diff --git a/settings.txt b/settings.txt index 17f9749..246021e 100644 --- a/settings.txt +++ b/settings.txt @@ -1,3 +1,7 @@ -- Set this to true to allow usage of the stairsplus mod in moreblocks enable_stairsplus = false + +-- This enables the old horizontal pillar block(deprecated, be sure to convert them back to normal pillars) + +enable_horizontal_pillar = true