enabled crafting in creative

This commit is contained in:
Alexander Weber 2017-02-23 09:16:06 +01:00
parent 5592028085
commit 33ce0e12ef
2 changed files with 3 additions and 3 deletions

View File

@ -185,5 +185,5 @@ smart_inventory.register_page({
tooltip = "The creative way to get items",
icon = "inventory_btn.png",
smartfs_callback = creative_callback,
sequence = 10
sequence = 15
})

View File

@ -131,10 +131,10 @@ smart_inventory.cache = dofile(modpath.."/cache.lua")
smart_inventory.ui_tools = dofile(modpath.."/ui_tools.lua")
-- register pages
dofile(modpath.."/crafting.lua")
if minetest.setting_getbool("creative_mode") then
dofile(modpath.."/creative.lua")
else
dofile(modpath.."/crafting.lua")
end
if smart_inventory.skins_mod or smart_inventory.armor_mod then