summaryrefslogtreecommitdiff
path: root/moreblocks/stairsplus
diff options
context:
space:
mode:
Diffstat (limited to 'moreblocks/stairsplus')
-rw-r--r--moreblocks/stairsplus/init.lua2
-rw-r--r--moreblocks/stairsplus/registrations.lua7
2 files changed, 8 insertions, 1 deletions
diff --git a/moreblocks/stairsplus/init.lua b/moreblocks/stairsplus/init.lua
index 598f21c..5cd415c 100644
--- a/moreblocks/stairsplus/init.lua
+++ b/moreblocks/stairsplus/init.lua
@@ -15,7 +15,7 @@ stairsplus.expect_infinite_stacks = false
stairsplus.shapes_list = {}
if not minetest.get_modpath("unified_inventory")
-and minetest.setting_getbool("creative_mode") then
+and minetest.settings:get_bool("creative_mode") then
stairsplus.expect_infinite_stacks = true
end
diff --git a/moreblocks/stairsplus/registrations.lua b/moreblocks/stairsplus/registrations.lua
index 065bc9d..7c5ad50 100644
--- a/moreblocks/stairsplus/registrations.lua
+++ b/moreblocks/stairsplus/registrations.lua
@@ -17,6 +17,7 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
"copperblock",
"bronzeblock",
"diamondblock",
+ "tinblock",
"desert_stone",
"desert_stone_block",
"desert_cobble",
@@ -39,6 +40,12 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks:
"stonebrick",
"desert_stonebrick",
"sandstonebrick",
+ "silver_sandstone",
+ "silver_sandstone_brick",
+ "silver_sandstone_block",
+ "desert_sandstone",
+ "desert_sandstone_brick",
+ "desert_sandstone_block",
"sandstone_block",
"coral_skeleton",
"farming:straw"