summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2018-09-10 19:57:23 +0200
committerLinus Jahn <lnj@kaidan.im>2018-09-10 19:57:23 +0200
commitd8e1d83fd6a6db04fdc96bc77e5018d2c3f8345e (patch)
tree3d097a894ed73d7775665de472d44f4f2c1a152b /init.lua
parent279d0ab9e8775b543034682f82b8a71cf150c9c9 (diff)
MCL2: Fix drawer upgrade inventory background
Diffstat (limited to 'init.lua')
-rwxr-xr-xinit.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index a7cc3d9..2e079eb 100755
--- a/init.lua
+++ b/init.lua
@@ -57,8 +57,12 @@ drawers.enable_2x2 = not core.settings:get_bool("drawers_disable_2x2")
--
drawers.gui_bg = "bgcolor[#080808BB;true]"
-drawers.gui_bg_img = "background[5,5;1,1;gui_formbg.png;true]"
drawers.gui_slots = "listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]"
+if (core.get_modpath("mcl_core")) and mcl_core then -- MCL2
+ drawers.gui_bg_img = "background[5,5;1,1;crafting_creative_bg.png;true]"
+else
+ drawers.gui_bg_img = "background[5,5;1,1;gui_formbg.png;true]"
+end
--
-- Load API