Skip to content

Commit

Permalink
Unbreak //move (closes #188)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Dec 20, 2019
1 parent 1844437 commit 116ae25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worldedit_commands/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,7 @@ worldedit.register_command("move", {
amount = amount * sign
end

local pos1, pos2 = worldedit.pos1[name], worldedit.pos2[name]
local count = worldedit.move(pos1, pos2, axis, amount)

pos1[axis] = pos1[axis] + amount
Expand Down

0 comments on commit 116ae25

Please sign in to comment.