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"
|
unified_inventory.default = "craft"
|
||||||
|
|
||||||
-- Disable default creative inventory
|
-- Disable default creative inventory
|
||||||
if creative_inventory then
|
if rawget(_G, "creative_inventory") then
|
||||||
function creative_inventory.set_creative_formspec(player, start_i, pagenum)
|
function creative_inventory.set_creative_formspec(player, start_i, pagenum)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user