summaryrefslogtreecommitdiff
path: root/worldedit
diff options
context:
space:
mode:
Diffstat (limited to 'worldedit')
-rw-r--r--worldedit/manipulations.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/worldedit/manipulations.lua b/worldedit/manipulations.lua
index e76cf70..365d7b3 100644
--- a/worldedit/manipulations.lua
+++ b/worldedit/manipulations.lua
@@ -503,8 +503,8 @@ function worldedit.orient(pos1, pos2, angle)
worldedit.keep_loaded(pos1, pos2)
local count = 0
- local get_node, get_meta, swap_node = minetest.get_node,
- minetest.get_meta, minetest.swap_node
+ local set_node, get_node, get_meta, swap_node = minetest.set_node,
+ minetest.get_node, minetest.get_meta, minetest.swap_node
local pos = {x=pos1.x, y=0, z=0}
while pos.x <= pos2.x do
pos.y = pos1.y