From de43d196d0afb2249b8558636b8c46502c40df6e Mon Sep 17 00:00:00 2001 From: snowleo Date: Sun, 15 May 2011 14:02:22 +0000 Subject: [PATCH] Fix noPlayerFound => playerNotFound git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1484 e251c2fe-e539-e718-e476-b85c1f46cddb --- .../src/com/earth2me/essentials/commands/EssentialsCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java b/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java index ab2c3c2ed..3091e3fcb 100644 --- a/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java +++ b/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java @@ -32,7 +32,7 @@ public abstract class EssentialsCommand implements IEssentialsCommand { if (args.length <= pos) throw new NotEnoughArgumentsException(); List 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]))