diff options
author | Maciej Kasatkin <maciej.kasatkin@o2.pl> | 2016-02-08 16:14:33 +0100 |
---|---|---|
committer | Maciej Kasatkin <maciej.kasatkin@o2.pl> | 2016-02-08 16:14:33 +0100 |
commit | 8f91abbfb87ee6a29102314dda417c1cff015bb5 (patch) | |
tree | 2ddc1d491d7cd8c874ba4019fa3f8704013bbce5 /init.lua | |
parent | df1309a6fdd02bfdc1cd5c83cadd4361267f7f21 (diff) | |
parent | f3127e9d7cba5e926e29e305669edfdfd6cd886e (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.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |