Skip to content

Commit 3aa315f

Browse files
committedJan 5, 2016
Fix Orient in WorldEdit GUI
1 parent 3d30588 commit 3aa315f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎worldedit_gui/functionality.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ worldedit.register_gui_handler("worldedit_gui_orient", function(name, fields)
497497
if fields.worldedit_gui_orient_submit then
498498
gui_angle[name] = angle_indices[fields.worldedit_gui_orient_angle]
499499
worldedit.show_page(name, "worldedit_gui_orient")
500-
minetest.chatcommands["/orient"].func(name, angle_values[gui_angle[name]])
500+
minetest.chatcommands["/orient"].func(name, tostring(angle_values[gui_angle[name]]))
501501
return true
502502
end
503503
return false

0 commit comments

Comments
 (0)