From f097aa4a67ecf6710d942fc2824268194e4392c6 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Thu, 7 Aug 2014 23:46:22 -0400 Subject: [PATCH] Missed loaded profile check, Fix #2189 --- src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java index dfe6222b7..f06160194 100644 --- a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java +++ b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java @@ -290,6 +290,9 @@ public final class CombatUtils { } Player player = (Player) target; + if (!UserManager.hasPlayerDataKey(player)) { + return; + } McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player); AcrobaticsManager acrobaticsManager = mcMMOPlayer.getAcrobaticsManager();