diff options
author | sfan5 <sfan5@live.de> | 2016-01-05 12:24:06 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2016-01-05 12:24:06 +0100 |
commit | 3aa315f134bd8da41af9d21a7da5dea77005952f (patch) | |
tree | 0c1e29687552b23ccd1a1c0dbfe95ad9c9ce19a3 /worldedit_gui | |
parent | 3d30588a68dd0a90ef65ef872b2e6878396eb2c8 (diff) |
Fix Orient in WorldEdit GUI
Diffstat (limited to 'worldedit_gui')
-rw-r--r-- | worldedit_gui/functionality.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit_gui/functionality.lua b/worldedit_gui/functionality.lua index 989c9eb..e812bf5 100644 --- a/worldedit_gui/functionality.lua +++ b/worldedit_gui/functionality.lua @@ -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
|