diff --git a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java index 91fe1221a..cde5975a1 100644 --- a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java @@ -314,6 +314,10 @@ public class PlayerListener implements Listener { Player player = event.getPlayer(); PlayerProfile profile = Users.getProfile(player); + if (profile == null) { + return; + } + if (profile.getPartyChatMode()) { Party party = profile.getParty();