|
@@ -619,6 +619,13 @@ public class PlayerListener implements Listener {
|
|
|
}
|
|
|
|
|
|
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player, true);
|
|
|
+
|
|
|
+ if (mcMMOPlayer == null) {
|
|
|
+ mcMMO.p.debug(player.getName() + "is chatting, but is currently not logged in to the server.");
|
|
|
+ mcMMO.p.debug("Party & Admin chat will not work properly for this player.");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
ChatManager chatManager = null;
|
|
|
|
|
|
if (mcMMOPlayer.getPartyChatMode()) {
|