From 729f3b1df9062d4db8479d11afc7f91f997af02a Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Tue, 19 Nov 2013 21:00:29 -0500 Subject: [PATCH] There is no usage of this method in which "all" will not cause NPE's --- src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java b/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java index 256b037c6..7ec5583df 100644 --- a/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java +++ b/src/main/java/com/gmail/nossr50/util/commands/CommandUtils.java @@ -134,7 +134,7 @@ public final class CommandUtils { } public static boolean isInvalidSkill(CommandSender sender, String skillName) { - if (skillName.equalsIgnoreCase("all") || SkillUtils.isSkill(skillName)) { + if (SkillUtils.isSkill(skillName)) { return false; }