summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]"..