Better Party Notifications - Disband, Invite, Kick, Leader, etc

This commit is contained in:
Kam committed 2024-03-01 20:51:25 -05:00
1 parent e4b273803f
commit 32dc6e86e2
5 files changed
+77 -20

No files matched your search

@@ -217,9 +217,11 @@ public class PlayerData implements IExtendedEntityProperties, IPlayerData {
if (uuid != null) {
this.partyInvites.remove(uuid);
Party party = PartyController.Instance().getParty(uuid);
if (!party.getIsLocked()) {
party.addPlayer(player);
PacketHandlerServer.sendPartyData((EntityPlayerMP) player);
if(party != null){
if (!party.getIsLocked()) {
party.addPlayer(player);
PartyController.Instance().pingPartyUpdate(party);
}
}
}
}