forked from minetest-mods/unified_inventory
supress intentional creative_inventory check warning, this fixes #18
This commit is contained in:
parent
4bae2c7fa3
commit
1a962542e6
2
init.lua
2
init.lua
@ -32,7 +32,7 @@ unified_inventory.home_filename =
|
||||
unified_inventory.default = "craft"
|
||||
|
||||
-- Disable default creative inventory
|
||||
if creative_inventory then
|
||||
if rawget(_G, "creative_inventory") then
|
||||
function creative_inventory.set_creative_formspec(player, start_i, pagenum)
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user