Update chests formspec to not be deprecated

This commit is contained in:
est31 2015-02-03 11:14:26 +01:00
parent d452d16fa6
commit 4735055b94
1 changed files with 2 additions and 2 deletions

View File

@ -193,9 +193,9 @@ function technic.chests:definition(name, data)
local locked_after_place = nil
local front = {"technic_"..lname.."_chest_front.png"}
data.base_formspec = "invsize["..data.ovwidth..","..data.ovheight..";]"..
data.base_formspec = "size["..data.ovwidth..","..data.ovheight.."]"..
"label[0,0;"..S("%s Chest"):format(name).."]"..
"list[current_name;main;"..data.hileft..",1;"..data.width..","..data.height..";]"..
"list[context;main;"..data.hileft..",1;"..data.width..","..data.height..";]"..
"list[current_player;main;"..data.loleft..","..data.lotop..";8,4;]"..
"background[-0.19,-0.25;"..(data.ovwidth+0.4)..","..(data.ovheight+0.75)..";technic_form_bg.png]"..
"background["..data.hileft..",1;"..data.width..","..data.height..";technic_"..lname.."_chest_inventory.png]"..