diff --git a/src/main/java/com/gmail/nossr50/skills/SkillCommand.java b/src/main/java/com/gmail/nossr50/skills/SkillCommand.java index 267a2d7b8..8165d99aa 100644 --- a/src/main/java/com/gmail/nossr50/skills/SkillCommand.java +++ b/src/main/java/com/gmail/nossr50/skills/SkillCommand.java @@ -19,7 +19,6 @@ import com.gmail.nossr50.util.Users; public abstract class SkillCommand implements CommandExecutor { private SkillType skill; private String skillString; - private String permission; protected Player player; protected PlayerProfile profile; @@ -33,7 +32,6 @@ public abstract class SkillCommand implements CommandExecutor { public SkillCommand(SkillType skill) { this.skill = skill; this.skillString = Misc.getCapitalized(skill.toString()); - this.permission = "mcmmo.skills." + skillString.toLowerCase(); } @Override @@ -42,10 +40,6 @@ public abstract class SkillCommand implements CommandExecutor { return true; } - if (CommandHelper.noCommandPermissions(sender, permission)) { - return true; - } - player = (Player) sender; profile = Users.getProfile(player);