From afd706bed8e272736c721a6f47764bd2b42a5415 Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 1 Apr 2013 16:41:20 -0400 Subject: [PATCH] Fix NPE with smelting & /mctop. Fixes #917 --- .../java/com/gmail/nossr50/commands/player/MctopCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java b/src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java index 476cb442f..d6ca6c721 100644 --- a/src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/player/MctopCommand.java @@ -122,7 +122,7 @@ public class MctopCommand implements CommandExecutor { skill = SkillType.getSkill(skillName); if (CommandUtils.isChildSkill(sender, skill)) { - return true; + return false; } return true;