mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 01:45:07 +00:00
Better Party Notifications - Disband, Invite, Kick, Leader, etc
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user