mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-12 19:10:26 +01:00
[connected_chest] Remove meta formspec, let the chest declare/show it
This commit is contained in:
parent
5a9770f45d
commit
14d12abd37
@ -25,11 +25,6 @@ local chests = {
|
|||||||
|
|
||||||
local meta = minetest.get_meta(pu)
|
local meta = minetest.get_meta(pu)
|
||||||
meta:set_string("owner", owner)
|
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:set_string("infotext", "Big Locked Chest (owned by "..
|
||||||
meta:get_string("owner")..")")
|
meta:get_string("owner")..")")
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
Loading…
Reference in New Issue
Block a user