diff options
author | Anthony <azhang9@gmail.com> | 2014-02-24 09:46:26 -0500 |
---|---|---|
committer | Anthony <azhang9@gmail.com> | 2014-02-24 09:46:26 -0500 |
commit | b8b8db42bfcca7210d748b4ca0c3069cc4043acf (patch) | |
tree | 212b63cea74f4790c9613d6ba5eb628ce1b314a2 | |
parent | 84f0e23d6c48c0b99a1f20f23858a48312ea259f (diff) | |
parent | 18417ff4fd6686579d95c90ffe192e7e51736e3d (diff) |
Merge pull request #36 from spillz/master
Fix incorrect fixedpos var names in the GUI form
-rw-r--r-- | worldedit_gui/functionality.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/worldedit_gui/functionality.lua b/worldedit_gui/functionality.lua index 4756b34..f331d4d 100644 --- a/worldedit_gui/functionality.lua +++ b/worldedit_gui/functionality.lua @@ -86,12 +86,12 @@ worldedit.register_gui_function("worldedit_gui_region", { string.format("field[2,5;1.5,0.8;worldedit_gui_fixedpos_pos1x;X ;%s]", pos1 and pos1.x or "") ..
string.format("field[3.5,5;1.5,0.8;worldedit_gui_fixedpos_pos1y;Y ;%s]", pos1 and pos1.y or "") ..
string.format("field[5,5;1.5,0.8;worldedit_gui_fixedpos_pos1z;Z ;%s]", pos1 and pos1.z or "") ..
- "button_exit[6.5,4.68;2.5,0.8;worldedit_gui_fixed_pos1_submit;Set Position 1]" ..
+ "button_exit[6.5,4.68;2.5,0.8;worldedit_gui_fixedpos_pos1_submit;Set Position 1]" ..
"label[0,6.2;Position 2]" ..
string.format("field[2,6.5;1.5,0.8;worldedit_gui_fixedpos_pos2x;X ;%s]", pos2 and pos2.x or "") ..
string.format("field[3.5,6.5;1.5,0.8;worldedit_gui_fixedpos_pos2y;Y ;%s]", pos2 and pos2.y or "") ..
string.format("field[5,6.5;1.5,0.8;worldedit_gui_fixedpos_pos2z;Z ;%s]", pos2 and pos2.z or "") ..
- "button_exit[6.5,6.18;2.5,0.8;worldedit_gui_fixed_pos2_submit;Set Position 2]"
+ "button_exit[6.5,6.18;2.5,0.8;worldedit_gui_fixedpos_pos2_submit;Set Position 2]"
end,
})
@@ -654,4 +654,4 @@ worldedit.register_gui_handler("worldedit_gui_formspec_tester", function(name, f return true
end
return false
-end)
\ No newline at end of file +end)
|