Permalink
Browse files

Fix NPE with smelting & /mctop. Fixes #917

  • Loading branch information...
1 parent 6c3820c commit afd706bed8e272736c721a6f47764bd2b42a5415 @gmcferrin gmcferrin committed Apr 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java
@@ -122,7 +122,7 @@ private boolean extractSkill(CommandSender sender, String skillName) {
skill = SkillType.getSkill(skillName);
if (CommandUtils.isChildSkill(sender, skill)) {
- return true;
+ return false;
}
return true;

0 comments on commit afd706b

Please sign in to comment.