Allow a pattern for the leave-id of //move

This commit is contained in:
Matthew Miller
2018-12-22 17:26:02 +10:00
parent 8d07877463
commit d6977aeae4
2 changed files with 6 additions and 6 deletions

View File

@ -276,7 +276,7 @@ public class RegionCommands {
@Selection Region region,
@Optional("1") @Range(min = 1) int count,
@Optional(Direction.AIM) @Direction(includeDiagonals = true) BlockVector3 direction,
@Optional("air") BlockStateHolder replace,
@Optional("air") Pattern replace,
@Switch('s') boolean moveSelection) throws WorldEditException {
int affected = editSession.moveRegion(region, direction, count, true, replace);