3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

Update SchematicCommands.java

Dieser Commit ist enthalten in:
Jesse Boyd 2019-11-01 23:22:29 +01:00
Ursprung 1a48546f0c
Commit 09bb9c18ca
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -585,12 +585,13 @@ public class SchematicCommands {
boolean oldFirst,
@Switch(name = 'n', desc = "Sort by date, newest first")
boolean newFirst,
@ArgFlag(name = 'f', desc = "Restricts by format.")
@ArgFlag(name = 'f', desc = "Restricts by format.", def = "")
String formatName,
@Arg(name = "filter", desc = "Filter for schematics", def = "all")
String filter,
Arguments arguments
) throws WorldEditException {
if (formatName.isEmpty()) formatName = null;
if (oldFirst && newFirst) {
throw new StopExecutionException(TextComponent.of("Cannot sort by oldest and newest."));
}