summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorMaciej Kasatkin <maciej.kasatkin@o2.pl>2016-02-08 16:14:33 +0100
committerMaciej Kasatkin <maciej.kasatkin@o2.pl>2016-02-08 16:14:33 +0100
commit8f91abbfb87ee6a29102314dda417c1cff015bb5 (patch)
tree2ddc1d491d7cd8c874ba4019fa3f8704013bbce5 /init.lua
parentdf1309a6fdd02bfdc1cd5c83cadd4361267f7f21 (diff)
parentf3127e9d7cba5e926e29e305669edfdfd6cd886e (diff)
Merge pull request #47 from kilbith/patch-1
Fix disabling of default creative inventory (fixes #46)
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index b327ecd..fbd698f 100644
--- a/init.lua
+++ b/init.lua
@@ -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