mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2025-07-03 00:40:27 +02:00
Remove creative mode UI slot background
This commit is contained in:
@ -74,12 +74,6 @@ function unified_inventory.get_formspec(player, page)
|
|||||||
formspec[1] = "size[11,7.7]"
|
formspec[1] = "size[11,7.7]"
|
||||||
end
|
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 perplayer_formspec = unified_inventory.get_per_player_formspec(player_name)
|
||||||
local fsdata = pagedef.get_formspec(player, perplayer_formspec)
|
local fsdata = pagedef.get_formspec(player, perplayer_formspec)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user