supress intentional creative_inventory check warning, this fixes #18

This commit is contained in:
Tim 2015-02-05 09:58:15 +01:00
parent 4bae2c7fa3
commit 1a962542e6

View File

@ -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