Missed loaded profile check, Fix #2189

This commit is contained in:
t00thpick1 2014-08-07 23:46:22 -04:00
parent 1fcb9e649e
commit f097aa4a67

View File

@ -290,6 +290,9 @@ public final class CombatUtils {
} }
Player player = (Player) target; Player player = (Player) target;
if (!UserManager.hasPlayerDataKey(player)) {
return;
}
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player); McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player);
AcrobaticsManager acrobaticsManager = mcMMOPlayer.getAcrobaticsManager(); AcrobaticsManager acrobaticsManager = mcMMOPlayer.getAcrobaticsManager();