3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00

Add //br and //brush as aliases.

Dieser Commit ist enthalten in:
wizjany 2019-05-13 17:40:43 -04:00
Ursprung 5c97418cca
Commit 10f7fb6a26
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -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();

Datei anzeigen

@ -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),