mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-03 12:31:46 +00:00
Make /whois throw an error if no matching players are found.
This commit is contained in:
parent
77b0415c1b
commit
2e15de483d
2 changed files with 7 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class Commandpay extends EssentialsCommand
|
|||
foundUser = true;
|
||||
}
|
||||
|
||||
if (foundUser == false)
|
||||
if (!foundUser)
|
||||
{
|
||||
throw new NoSuchFieldException(_("playerNotFound"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue