diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-09-13 23:13:54 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-09-13 23:13:54 -0400 |
commit | 6f961313822e837f96cf2d5b8fa3f2b521890c96 (patch) | |
tree | 4d473c71a2eb7c56ef7224d629737d012cd0b5c1 /init.lua | |
parent | 8102eb982e2957a59be749ec0ab867293c5ff721 (diff) |
Normalization.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -324,8 +324,8 @@ minetest.register_chatcommand("/move", { local count = worldedit.move(pos1, pos2, axis, tonumber(amount))
- worldedit.pos1[name][axis] = worldedit.pos1[name][axis] + amount
- worldedit.pos2[name][axis] = worldedit.pos2[name][axis] + amount
+ pos1[axis] = pos1[axis] + amount
+ pos2[axis] = pos2[axis] + amount
worldedit.mark_pos1(name)
worldedit.mark_pos2(name)
|