mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-13 05:50:18 +01:00
Fix issue #1: “stairsplus_in_creative_inventory not being honored”.
This commit is contained in:
parent
6501336d86
commit
84ee1ffae8
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user