mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-08 14:58:06 +00:00
Clean up exception types.
This commit is contained in:
parent
aa6c6b4d48
commit
52ba151b81
16 changed files with 28 additions and 28 deletions
|
@ -45,7 +45,7 @@ public class Commandlightning extends EssentialsCommand
|
|||
|
||||
if (args[0].trim().length() < 2)
|
||||
{
|
||||
throw new Exception(_("playerNotFound"));
|
||||
throw new PlayerNotFoundException();
|
||||
}
|
||||
|
||||
final List<Player> matchedPlayers = server.matchPlayer(args[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue