Fixed issue with JSON API plugin & player chat events

This commit is contained in:
GJ 2012-07-05 11:25:36 -04:00
parent b94085c5f4
commit 64f31f2b5a

View File

@ -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();