Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 10:30:04 +01:00
Added "Usage: " back when handling InvalidUsageException.
Dieser Commit ist enthalten in:
Ursprung
f0530f9d28
Commit
75b1fe6090
@ -231,7 +231,7 @@ public final class CommandManager {
|
||||
} else {
|
||||
String message = e.getMessage();
|
||||
actor.printError(message != null ? message : "The command was not used properly (no more help available).");
|
||||
actor.printError(e.getSimpleUsageString("/"));
|
||||
actor.printError("Usage: " + e.getSimpleUsageString("/"));
|
||||
}
|
||||
} catch (WrappedCommandException e) {
|
||||
Throwable t = e.getCause();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren