mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Fix NPE with smelting & /mctop. Fixes #917
This commit is contained in:
parent
6c3820c747
commit
afd706bed8
@ -122,7 +122,7 @@ public class MctopCommand implements CommandExecutor {
|
|||||||
skill = SkillType.getSkill(skillName);
|
skill = SkillType.getSkill(skillName);
|
||||||
|
|
||||||
if (CommandUtils.isChildSkill(sender, skill)) {
|
if (CommandUtils.isChildSkill(sender, skill)) {
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user