From 5f35fa308ffb9733d11b8a75c7bfcaa186fabfe7 Mon Sep 17 00:00:00 2001 From: isaiah658 Date: Sun, 5 May 2019 07:30:39 -0500 Subject: [PATCH] Fix controller gui Added the same changes that were made to the drawer formspec to the controller formspec to not rely on default. --- lua/controller.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lua/controller.lua b/lua/controller.lua index 4092606..1946fdb 100644 --- a/lua/controller.lua +++ b/lua/controller.lua @@ -78,17 +78,16 @@ end local function controller_formspec(pos, meta_current_state) local formspec = "size[8,8.5]".. - default.gui_bg.. - default.gui_bg_img.. - default.gui_slots.. + drawers.gui_bg.. + drawers.gui_bg_img.. + drawers.gui_slots.. "label[0,0;" .. S("Current State: ") .. meta_current_state .. "]" .. "list[current_name;src;3.5,1.75;1,1;]".. "list[current_player;main;0,4.25;8,1;]".. "list[current_player;main;0,5.5;8,3;8]".. "listring[current_player;main]".. "listring[current_name;src]".. - "listring[current_player;main]".. - default.get_hotbar_bg(0, 4.25) + "listring[current_player;main]" return formspec end