From 758b643c4d5a21661beecc697e604c7e6b2b591c Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Fri, 12 Feb 2016 03:19:03 +0100 Subject: [PATCH] Check for both old and new default creative mod name --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index fbd698f..d311ace 100644 --- a/init.lua +++ b/init.lua @@ -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