Using /exp, show can't find player message, if no matching player is found.

This commit is contained in:
KHobbits 2012-06-16 18:22:13 +01:00
parent edca2cbdff
commit 9f852b3a41
2 changed files with 30 additions and 23 deletions

View file

@ -44,7 +44,7 @@ public class Commandpay extends EssentialsCommand
if (!foundUser)
{
throw new NoSuchFieldException(_("playerNotFound"));
throw new NotEnoughArgumentsException(_("playerNotFound"));
}
}
}