mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Added "Usage: " back when handling InvalidUsageException.
This commit is contained in:
parent
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();
|
||||
|
Loading…
Reference in New Issue
Block a user