mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-24 18:01:26 +02: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