diff --git a/src/main/java/com/gmail/nossr50/commands/admin/SkillresetCommand.java b/src/main/java/com/gmail/nossr50/commands/admin/SkillresetCommand.java index 4ba87e25e..901de47da 100644 --- a/src/main/java/com/gmail/nossr50/commands/admin/SkillresetCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/admin/SkillresetCommand.java @@ -137,7 +137,7 @@ public class SkillresetCommand implements CommandExecutor { continue; } - if (!Permissions.skillresetOthers(sender, skill)) { + if (!Permissions.skillresetOthers(sender, skillType)) { sender.sendMessage(command.getPermissionMessage()); continue; }