mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
There is no usage of this method in which "all" will not cause NPE's
This commit is contained in:
parent
ee1be3599c
commit
729f3b1df9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user