From: PilzAdam Date: Mon, 7 Jan 2013 19:40:41 +0000 (+0100) Subject: Update minetest.show_formspec() X-Git-Tag: 0.4.5~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d5cc51a39689537f57fdba2d9545a289737d7b73;p=oweals%2Fminetest_game.git Update minetest.show_formspec() --- diff --git a/mods/default/init.lua b/mods/default/init.lua index 39437813..459c06d9 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -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;]")