Utilize formspec prepend
This commit is contained in:
parent
98b3003e07
commit
ea0c2e9568
21 changed files with 9 additions and 31 deletions
|
@ -378,7 +378,6 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, inv_siz
|
|||
end
|
||||
|
||||
formspec = "size[10,9.3]"..
|
||||
mcl_vars.inventory_header..
|
||||
"background[-0.19,-0.25;10.5,9.87;"..inv_bg.."]"..
|
||||
"label[-5,-5;"..name.."]"..
|
||||
tab(name, "blocks") ..
|
||||
|
|
|
@ -86,7 +86,6 @@ local function set_inventory(player, armor_change_only)
|
|||
|
||||
local form = "size[9,8.75]"..
|
||||
"background[-0.19,-0.25;9.41,9.49;crafting_formspec_bg.png]"..
|
||||
mcl_vars.inventory_header..
|
||||
player_preview..
|
||||
--armor
|
||||
"list[detached:"..player_name.."_armor;armor;0,0;1,1;1]"..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue