Utilize formspec prepend

This commit is contained in:
Wuzzy 2019-03-06 06:35:24 +01:00
parent 98b3003e07
commit ea0c2e9568
21 changed files with 9 additions and 31 deletions

View file

@ -315,8 +315,6 @@ function craftguide:get_formspec(player_name, is_fuel)
data.pagemax = max(1, ceil(#data.items / ipp))
local formspec = "size["..data.iX..","..(iY+3)..".6;]"..
mcl_vars.gui_slots ..
mcl_vars.gui_bg ..
[=[background[1,1;1,1;craftguide_bg.png;true]
button[2.4,0.21;0.8,0.5;search;?]
button[3.05,0.21;0.8,0.5;clear;X]