diff options
author | kilbith <kilbith@users.noreply.github.com> | 2016-02-08 13:07:23 +0100 |
---|---|---|
committer | kilbith <kilbith@users.noreply.github.com> | 2016-02-08 13:07:23 +0100 |
commit | f3127e9d7cba5e926e29e305669edfdfd6cd886e (patch) | |
tree | 2ddc1d491d7cd8c874ba4019fa3f8704013bbce5 /init.lua | |
parent | df1309a6fdd02bfdc1cd5c83cadd4361267f7f21 (diff) |
Fix disabling of default creative inventory (fixes #46)
The function prefix in upstream has changed.
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 |