mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 13:13:24 +00:00
Fix noPlayerFound => playerNotFound
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1484 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
9bb70c1495
commit
eb49497c07
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public abstract class EssentialsCommand implements IEssentialsCommand
|
|||
{
|
||||
if (args.length <= pos) throw new NotEnoughArgumentsException();
|
||||
List<Player> matches = server.matchPlayer(args[pos]);
|
||||
if (matches.size() < 1) throw new NoSuchFieldException(Util.i18n("noPlayerFound"));
|
||||
if (matches.size() < 1) throw new NoSuchFieldException(Util.i18n("playerNotFound"));
|
||||
for (Player p : matches)
|
||||
{
|
||||
if (p.getDisplayName().startsWith(args[pos]))
|
||||
|
|
Loading…
Reference in a new issue