diff --git a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java index 8f13b6b93..cd1d2d02b 100644 --- a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java @@ -519,7 +519,10 @@ public class PlayerListener implements Listener { McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player); - if (mcMMOPlayer.getPartyChatMode()) { + if (mcMMOPlayer == null) { + return; + } + else if (mcMMOPlayer.getPartyChatMode()) { Party party = mcMMOPlayer.getParty(); if (party == null) {