Skip to content
Permalink
Browse files
Fix Orient in WorldEdit GUI
  • Loading branch information
sfan5 committed Jan 5, 2016
1 parent 3d30588 commit 3aa315f134bd8da41af9d21a7da5dea77005952f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -497,7 +497,7 @@ worldedit.register_gui_handler("worldedit_gui_orient", function(name, fields)
if fields.worldedit_gui_orient_submit then
gui_angle[name] = angle_indices[fields.worldedit_gui_orient_angle]
worldedit.show_page(name, "worldedit_gui_orient")
minetest.chatcommands["/orient"].func(name, angle_values[gui_angle[name]])
minetest.chatcommands["/orient"].func(name, tostring(angle_values[gui_angle[name]]))
return true
end
return false

0 comments on commit 3aa315f

Please sign in to comment.