mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-08 16:03:43 +01:00
MCL2: Fix drawer upgrade inventory background
This commit is contained in:
parent
279d0ab9e8
commit
d8e1d83fd6
6
init.lua
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user