mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 09:59:42 -05:00
1 parent
2d93fec7d2
commit
6410e49ab9
3 files changed
+24
-3
No files matched your search
@@ -33,7 +33,7 @@ public final class PluginCommand extends Command {
|
||||
throw new CommandException("Unhandled exception executing command '" + commandLabel + "' in plugin " + owningPlugin.getDescription().getFullName(), ex);
|
||||
}
|
||||
|
||||
if (!success && !usageMessage.isEmpty()) {
|
||||
if (!success && usageMessage.length() > 0) {
|
||||
sender.sendMessage(usageMessage.replace("<command>", commandLabel));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user