From 10466bea04f77261de0d9b77df4f7e4efbe88a19 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 30 Aug 2016 14:15:49 -0400 Subject: updated homedecor, moreblocks, pipeworks, and travelnet --- inbox/init.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'inbox') diff --git a/inbox/init.lua b/inbox/init.lua index 6189784..d188f0d 100644 --- a/inbox/init.lua +++ b/inbox/init.lua @@ -64,7 +64,7 @@ minetest.register_node("inbox:empty", { local name = player and player:get_player_name() local owner = meta:get_string("owner") local inv = meta:get_inventory() - return player == owner and inv:is_empty("main") + return name == owner and inv:is_empty("main") end, on_metadata_inventory_put = function(pos, listname, index, stack, player) local meta = minetest.get_meta(pos) @@ -95,7 +95,8 @@ function inbox.get_inbox_formspec(pos) local formspec = "size[8,9]".. "list[nodemeta:".. spos .. ";main;0,0;8,4;]".. - "list[current_player;main;0,5;8,4;]" + "list[current_player;main;0,5;8,4;]" .. + "listring[]" return formspec end @@ -104,6 +105,7 @@ function inbox.get_inbox_insert_formspec(pos) local formspec = "size[8,9]".. "list[nodemeta:".. spos .. ";drop;3.5,2;1,1;]".. - "list[current_player;main;0,5;8,4;]" + "list[current_player;main;0,5;8,4;]".. + "listring[]" return formspec end -- cgit v1.2.3