Skip to content

Commit

Permalink
Fix formspec typo causing crashing upon using /orient in the GUI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Uberi committed Jun 18, 2015
1 parent 90d6b3d commit fc037e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldedit_gui/functionality.lua
Expand Up @@ -488,7 +488,7 @@ worldedit.register_gui_function("worldedit_gui_orient", {
get_formspec = function(name)
local angle = gui_angle[name]
return "size[5,3]" .. worldedit.get_formspec_header("worldedit_gui_orient") ..
string.format("dropdown[0,1;2.5;worldedit_gui_rotate_angle;90 degrees,180 degrees,270 degrees;%s]", angle) ..
string.format("dropdown[0,1;2.5;worldedit_gui_orient_angle;90 degrees,180 degrees,270 degrees;%s]", angle) ..
"button_exit[0,2.5;3,0.8;worldedit_gui_orient_submit;Orient]"
end,
})
Expand Down

0 comments on commit fc037e9

Please sign in to comment.