aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalinou <calinou@opmbx.org>2014-10-19 18:15:46 +0200
committerCalinou <calinou@opmbx.org>2014-10-19 18:15:46 +0200
commit84ee1ffae8e17c00cc20c166556b2fe39fa54c7c (patch)
tree0513b7ce0cef2101875c6b6d65fc672628fa0e2c
parent6501336d86f2f55d9c7af1869b461cd9e7891ad7 (diff)
downloadmoreblocks-84ee1ffae8e17c00cc20c166556b2fe39fa54c7c.tar.gz
moreblocks-84ee1ffae8e17c00cc20c166556b2fe39fa54c7c.tar.bz2
moreblocks-84ee1ffae8e17c00cc20c166556b2fe39fa54c7c.zip
Fix issue #1: “stairsplus_in_creative_inventory not being honored”.
-rw-r--r--config.lua3
-rw-r--r--stairsplus/init.lua2
2 files changed, 1 insertions, 4 deletions
diff --git a/config.lua b/config.lua
index 7efb539..e5db086 100644
--- a/config.lua
+++ b/config.lua
@@ -18,8 +18,5 @@ local function setting(settingtype, name, default)
end
end
--- Whether to direct wood based on player posititon when placing the block (true or false):
-setting("bool", "wood_facedir", true)
-
-- Show stairs/slabs/panels/microblocks in creative inventory (true or false):
setting("bool", "stairsplus_in_creative_inventory", false)
diff --git a/stairsplus/init.lua b/stairsplus/init.lua
index cceee2a..ae09b7d 100644
--- a/stairsplus/init.lua
+++ b/stairsplus/init.lua
@@ -13,7 +13,7 @@ end
function stairsplus:register_all(modname, subname, recipeitem, fields)
fields = fields or {}
fields.groups = fields.groups or {}
- if not moreblocks.config.show_stairsplus_creative_inv then
+ if not moreblocks.config.stairsplus_in_creative_inventory then
fields.groups.not_in_creative_inventory = 1
end
self:register_stair(modname, subname, recipeitem, fields)