aboutsummaryrefslogtreecommitdiff
path: root/stairsplus/stairs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'stairsplus/stairs.lua')
-rw-r--r--stairsplus/stairs.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/stairsplus/stairs.lua b/stairsplus/stairs.lua
index ae06e73..7fa6a30 100644
--- a/stairsplus/stairs.lua
+++ b/stairsplus/stairs.lua
@@ -225,8 +225,10 @@ function register_stair(modname, subname, recipeitem, groups, images, descriptio
end
})
- -- Unregister default recipes
+ -- Unregister default recipes, optional, see _config.txt
+if allow_stair_slab_crafting == false
+then
minetest.register_craft({
output = "moreblocks:nothing 1",
recipe = {
@@ -245,4 +247,5 @@ function register_stair(modname, subname, recipeitem, groups, images, descriptio
},
})
end
+end