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,
@Switch(name = 'b', desc = "Paste biomes if available")
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 {
ClipboardHolder holder = session.getClipboard();

View File

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