mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-11-11 14:20:50 +01:00
Fixing an NPE related to the skillreset command.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user