Skip to content

Commit b8b8db4

Browse files
committedFeb 24, 2014
Merge pull request #36 from spillz/master
Fix incorrect fixedpos var names in the GUI form
2 parents 84f0e23 + 18417ff commit b8b8db4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎worldedit_gui/functionality.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ worldedit.register_gui_function("worldedit_gui_region", {
8686
string.format("field[2,5;1.5,0.8;worldedit_gui_fixedpos_pos1x;X ;%s]", pos1 and pos1.x or "") ..
8787
string.format("field[3.5,5;1.5,0.8;worldedit_gui_fixedpos_pos1y;Y ;%s]", pos1 and pos1.y or "") ..
8888
string.format("field[5,5;1.5,0.8;worldedit_gui_fixedpos_pos1z;Z ;%s]", pos1 and pos1.z or "") ..
89-
"button_exit[6.5,4.68;2.5,0.8;worldedit_gui_fixed_pos1_submit;Set Position 1]" ..
89+
"button_exit[6.5,4.68;2.5,0.8;worldedit_gui_fixedpos_pos1_submit;Set Position 1]" ..
9090
"label[0,6.2;Position 2]" ..
9191
string.format("field[2,6.5;1.5,0.8;worldedit_gui_fixedpos_pos2x;X ;%s]", pos2 and pos2.x or "") ..
9292
string.format("field[3.5,6.5;1.5,0.8;worldedit_gui_fixedpos_pos2y;Y ;%s]", pos2 and pos2.y or "") ..
9393
string.format("field[5,6.5;1.5,0.8;worldedit_gui_fixedpos_pos2z;Z ;%s]", pos2 and pos2.z or "") ..
94-
"button_exit[6.5,6.18;2.5,0.8;worldedit_gui_fixed_pos2_submit;Set Position 2]"
94+
"button_exit[6.5,6.18;2.5,0.8;worldedit_gui_fixedpos_pos2_submit;Set Position 2]"
9595
end,
9696
})
9797

@@ -654,4 +654,4 @@ worldedit.register_gui_handler("worldedit_gui_formspec_tester", function(name, f
654654
return true
655655
end
656656
return false
657-
end)
657+
end)

0 commit comments

Comments
 (0)
Please sign in to comment.