Tweak command block formspec

This commit is contained in:
Wuzzy 2018-01-02 14:32:40 +01:00
parent cd86148c70
commit 74a7770a7c

View file

@ -130,7 +130,6 @@ local on_rightclick = function(pos, node, player, itemstack, pointed_thing)
local commands = meta:get_string("commands") local commands = meta:get_string("commands")
local formspec = "invsize[9,5;]" .. local formspec = "invsize[9,5;]" ..
"textarea[0.5,0.5;8.5,4;commands;Commands;"..commands.."]" .. "textarea[0.5,0.5;8.5,4;commands;Commands;"..commands.."]" ..
"label[1,3.8;@nearest, @farthest, and @random are replaced by the respective player names]" ..
"button_exit[3.3,4.5;2,1;submit;Submit]" .. "button_exit[3.3,4.5;2,1;submit;Submit]" ..
"image_button[8,4.5;1,1;doc_button_icon_lores.png;doc;]" .. "image_button[8,4.5;1,1;doc_button_icon_lores.png;doc;]" ..
"tooltip[doc;Help]" "tooltip[doc;Help]"