mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-04 16:56:40 +00:00
delete commandargumentexception and return usage instead
This commit is contained in:
@ -178,10 +178,8 @@ public abstract class PlexCommand extends Command implements PluginIdentifiableC
|
||||
{
|
||||
send(sender, component);
|
||||
}
|
||||
} catch (CommandArgumentException ex)
|
||||
{
|
||||
send(sender, getUsage());
|
||||
} catch (PlayerNotFoundException | CommandFailException
|
||||
}
|
||||
catch (PlayerNotFoundException | CommandFailException
|
||||
| ConsoleOnlyException | ConsoleMustDefinePlayerException
|
||||
| PlayerNotBannedException ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user