mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 04:46:40 +00:00
Implemented -? and changed handling of InvalidUsageException.
Fixes WORLDEDIT-2947.
This commit is contained in:
@ -643,8 +643,7 @@ public class UtilityCommands {
|
||||
|
||||
actor.printRaw(ColorCodeBuilder.asColorCodes(box));
|
||||
} else {
|
||||
String title = String.format("Help: %s", Joiner.on(" ").join(visited));
|
||||
CommandUsageBox box = new CommandUsageBox(callable.getDescription(), title);
|
||||
CommandUsageBox box = new CommandUsageBox(callable, Joiner.on(" ").join(visited));
|
||||
actor.printRaw(ColorCodeBuilder.asColorCodes(box));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user