mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-03 04:21:37 +00:00
Using /exp, show can't find player message, if no matching player is found.
This commit is contained in:
parent
edca2cbdff
commit
9f852b3a41
2 changed files with 30 additions and 23 deletions
|
@ -44,7 +44,7 @@ public class Commandpay extends EssentialsCommand
|
|||
|
||||
if (!foundUser)
|
||||
{
|
||||
throw new NoSuchFieldException(_("playerNotFound"));
|
||||
throw new NotEnoughArgumentsException(_("playerNotFound"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue