Fixing an NPE related to the skillreset command.

This commit is contained in:
U-YUE\Sean 2013-02-20 09:58:53 -08:00 committed by Glitchfinder
parent 7e6550d147
commit fd821139bd

View File

@ -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;
}