diff --git a/src/main/java/com/gmail/nossr50/util/Skills.java b/src/main/java/com/gmail/nossr50/util/Skills.java index f31549a3e..d2d8a48c6 100644 --- a/src/main/java/com/gmail/nossr50/util/Skills.java +++ b/src/main/java/com/gmail/nossr50/util/Skills.java @@ -396,6 +396,9 @@ public class Skills { */ public static void abilityCheck(Player player, SkillType type) { PlayerProfile profile = Users.getProfile(player); + if (profile == null) { + return; + } ToolType tool = type.getTool(); if (!profile.getToolPreparationMode(tool)) {