diff --git a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java index 54018406f..15a8f64e1 100644 --- a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java @@ -260,11 +260,12 @@ public class PlayerListener implements Listener { return; } - UserManager.getPlayer(player).resetAbilityMode(); + McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player); + mcMMOPlayer.resetAbilityMode(); /* GARBAGE COLLECTION */ BleedTimerTask.bleedOut(player); // Bleed it out - UserManager.getPlayer(player).getProfile().save(); + mcMMOPlayer.getProfile().save(); UserManager.remove(player.getName()); }