summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bags.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/bags.lua b/bags.lua
index 2a21d5d..34533a2 100644
--- a/bags.lua
+++ b/bags.lua
@@ -32,6 +32,7 @@ for i = 1, 4 do
local stack = player:get_inventory():get_stack("bag"..i, 1)
local image = stack:get_definition().inventory_image
local formspec = "image[7,0;1,1;"..image.."]"
+ formspec = formspec.."label[0,0;Bag "..i.."]"
formspec = formspec.."listcolors[#00000000;#00000000]"
formspec = formspec.."list[current_player;bag"..i.."contents;0,1;8,3;]"
local slots = stack:get_definition().groups.bagslots