Fix disabling of default creative inventory (fixes #46)

The function prefix in upstream has changed.
This commit is contained in:
kilbith 2016-02-08 13:07:23 +01:00
parent df1309a6fd
commit f3127e9d7c

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