1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-21 03:03:02 +01:00

There is no usage of this method in which "all" will not cause NPE's

This commit is contained in:
t00thpick1
2013-11-19 21:00:29 -05:00
parent ee1be3599c
commit 729f3b1df9

View File

@@ -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;
}