summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-02-03 11:14:26 +0100
committerest31 <MTest31@outlook.com>2015-02-03 11:14:26 +0100
commit4735055b94a446e60555a95df51ea924340bcb91 (patch)
treeb0ab41e394abfde06adabf8e4f173b81e3c11303
parentd452d16fa6a0364e0c8e171a4b333d6b85e0c519 (diff)
Update chests formspec to not be deprecated
-rw-r--r--technic_chests/register.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/technic_chests/register.lua b/technic_chests/register.lua
index 62d7529..a6038ef 100644
--- a/technic_chests/register.lua
+++ b/technic_chests/register.lua
@@ -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]"..