mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-04 13:01:42 +00:00
3 char min length on /pay and /msg
This commit is contained in:
parent
1e04e3f80d
commit
2bebb0bd61
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ public class Commandpay extends EssentialsCommand
|
|||
throw new NotEnoughArgumentsException();
|
||||
}
|
||||
|
||||
if (args[0] == "")
|
||||
if (args[0].trim().length() < 3)
|
||||
{
|
||||
throw new NotEnoughArgumentsException("You need to specify a player to pay.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue