Clean up exception types.

This commit is contained in:
KHobbits 2013-06-22 16:33:22 +01:00
parent aa6c6b4d48
commit 52ba151b81
16 changed files with 28 additions and 28 deletions

View file

@ -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]);