enabled crafting in creative
This commit is contained in:
parent
5592028085
commit
33ce0e12ef
@ -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
|
||||
})
|
||||
|
4
init.lua
4
init.lua
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user