Add //br and //brush as aliases.

This commit is contained in:
wizjany 2019-05-13 17:40:43 -04:00
parent 5c97418cca
commit 10f7fb6a26
2 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ public class ClipboardCommands {
boolean pasteEntities, boolean pasteEntities,
@Switch(name = 'b', desc = "Paste biomes if available") @Switch(name = 'b', desc = "Paste biomes if available")
boolean pasteBiomes, boolean pasteBiomes,
@ArgFlag(name = 'm', desc = "Skip blocks matching this mask", def = "") @ArgFlag(name = 'm', desc = "Only paste blocks matching this mask", def = "")
Mask sourceMask) throws WorldEditException { Mask sourceMask) throws WorldEditException {
ClipboardHolder holder = session.getClipboard(); ClipboardHolder holder = session.getClipboard();

View File

@ -281,7 +281,7 @@ public final class PlatformCommandManager {
registerSubCommands( registerSubCommands(
"snapshot", "snapshot",
ImmutableList.of("snap"), ImmutableList.of("snap"),
"Snapshot commands for saving/loading snapshots", "Snapshot commands for restoring backups",
SnapshotCommandsRegistration.builder(), SnapshotCommandsRegistration.builder(),
new SnapshotCommands(worldEdit) new SnapshotCommands(worldEdit)
); );
@ -294,7 +294,7 @@ public final class PlatformCommandManager {
); );
registerSubCommands( registerSubCommands(
"brush", "brush",
ImmutableList.of("br"), ImmutableList.of("br", "/brush", "/br"),
"Brushing commands", "Brushing commands",
BrushCommandsRegistration.builder(), BrushCommandsRegistration.builder(),
new BrushCommands(worldEdit), new BrushCommands(worldEdit),