Merge pull request #47 from kilbith/patch-1

Fix disabling of default creative inventory (fixes #46)
This commit is contained in:
Maciej Kasatkin 2016-02-08 16:14:33 +01:00
commit 8f91abbfb8

@ -48,8 +48,8 @@ unified_inventory = {
}
-- Disable default creative inventory
if rawget(_G, "creative_inventory") then
function creative_inventory.set_creative_formspec(player, start_i, pagenum)
if rawget(_G, "creative") then
function creative.set_creative_formspec(player, start_i, pagenum)
return
end
end