1
0
mirror of https://github.com/HybridDog/connected_chests.git synced 2024-11-13 09:30:16 +01:00

[connected_chest] Remove meta formspec, let the chest declare/show it

This commit is contained in:
LeMagnesium 2015-09-23 15:32:52 +02:00
parent eb57b9d1ee
commit 8f268bfaac

View File

@ -25,11 +25,6 @@ local chests = {
local meta = minetest.get_meta(pu)
meta:set_string("owner", owner)
meta:set_string("formspec",
"size[13,9]"..
"list[current_name;main;0,0;13,5;]"..
"list[current_player;main;2.5,5.2;8,4;]"
)
meta:set_string("infotext", "Big Locked Chest (owned by "..
meta:get_string("owner")..")")
local inv = meta:get_inventory()