Skip to content
Snippets Groups Projects
Commit d5cc51a3 authored by PilzAdam's avatar PilzAdam
Browse files

Update minetest.show_formspec()

parent cd604fa9
No related branches found
No related tags found
No related merge requests found
......@@ -1340,7 +1340,7 @@ minetest.register_node("default:chest_locked", {
local meta = minetest.env:get_meta(pos)
if has_locked_chest_privilege(meta, clicker) then
local pos = pos.x .. "," .. pos.y .. "," ..pos.z
minetest.show_formspec(clicker:get_player_name(),
minetest.show_formspec(clicker:get_player_name(), "default:chest_locked",
"size[8,9]"..
"list[nodemeta:".. pos .. ";main;0,0;8,4;]"..
"list[current_player;main;0,5;8,4;]")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment