Skip to content

Commit

Permalink
Made //move operate on the actual region instead of its bounding box.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomyLobo committed Aug 3, 2013
1 parent c1396a2 commit 9f4d470
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public void move(CommandContext args, LocalSession session, LocalPlayer player,
replace = new BaseBlock(BlockID.AIR);
}

int affected = editSession.moveCuboidRegion(session.getSelection(player.getWorld()),
int affected = editSession.moveRegion(session.getSelection(player.getWorld()),
dir, count, true, replace);

if (args.hasFlag('s')) {
Expand Down

2 comments on commit 9f4d470

@orthoplex64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but sometimes you do just want to move the bounding box

@TomyLobo
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then you do //sel cuboid before moving :)

Please sign in to comment.