diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2016-02-12 03:19:03 +0100 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@o2.pl> | 2016-02-12 03:19:03 +0100 |
commit | 758b643c4d5a21661beecc697e604c7e6b2b591c (patch) | |
tree | ffa98c35949702c064146a43d3c5dc102000717f /init.lua | |
parent | b3c6c922861f9936cc03fae5cd6cabb9cacd9e27 (diff) |
Check for both old and new default creative mod name
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -48,7 +48,8 @@ unified_inventory = { } -- Disable default creative inventory -if rawget(_G, "creative") then +local creative = rawget(_G, "creative") or rawget(_G, "creative_inventory") +if creative then function creative.set_creative_formspec(player, start_i, pagenum) return end |