1
0
Fork 0

Tweak commandblock button position

This commit is contained in:
Wuzzy 2020-03-10 05:17:53 +01:00
parent 1ea2b09ecb
commit 96b30b918c
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ local on_rightclick = function(pos, node, player, itemstack, pointed_thing)
-- Player can still view the contents of the command block. -- Player can still view the contents of the command block.
if can_edit then if can_edit then
textarea_name = "commands" textarea_name = "commands"
submit = "button_exit[3.3,4.5;2,1;submit;"..F(S("Submit")).."]" submit = "button_exit[3.3,4.4;2,1;submit;"..F(S("Submit")).."]"
else else
textarea_name = "" textarea_name = ""
submit = "" submit = ""
@ -173,7 +173,7 @@ local on_rightclick = function(pos, node, player, itemstack, pointed_thing)
local formspec = "size[9,5;]" .. local formspec = "size[9,5;]" ..
textarea .. textarea ..
submit .. submit ..
"image_button[8,4.5;1,1;doc_button_icon_lores.png;doc;]" .. "image_button[8,4.4;1,1;doc_button_icon_lores.png;doc;]" ..
"tooltip[doc;"..F(S("Help")).."]" .. "tooltip[doc;"..F(S("Help")).."]" ..
"label[0,4;"..F(commanderstr).."]" "label[0,4;"..F(commanderstr).."]"
minetest.show_formspec(pname, "commandblock_"..pos.x.."_"..pos.y.."_"..pos.z, formspec) minetest.show_formspec(pname, "commandblock_"..pos.x.."_"..pos.y.."_"..pos.z, formspec)