Remove creative mode UI slot background

This commit is contained in:
isaiah658 2020-12-16 01:29:04 +00:00 committed by GitHub
parent ac62ec19e3
commit 0731c39076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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)