From 0731c390767a0dd418e357757b91934859e4cf52 Mon Sep 17 00:00:00 2001 From: isaiah658 <29903689+isaiah658@users.noreply.github.com> Date: Wed, 16 Dec 2020 01:29:04 +0000 Subject: [PATCH] Remove creative mode UI slot background --- internal.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal.lua b/internal.lua index 33097d5..f86d530 100644 --- a/internal.lua +++ b/internal.lua @@ -74,12 +74,6 @@ function unified_inventory.get_formspec(player, page) formspec[1] = "size[11,7.7]" end - if unified_inventory.is_creative(player_name) - and page == "craft" then - formspec[n] = "background[0,"..(ui_peruser.formspec_y + 2)..";1,1;ui_single_slot.png]" - n = n+1 - end - local perplayer_formspec = unified_inventory.get_per_player_formspec(player_name) local fsdata = pagedef.get_formspec(player, perplayer_formspec)