Added login and logout notifiers

This commit is contained in:
auto committed 2021-08-08 14:48:42 +02:00
1 parent 9551785f83
commit 31d2eb44d4
4 files changed
+73 -1

No files matched your search

@@ -45,7 +45,12 @@ public class PartyManager {
}
public static Party getParty(UUID uuid) {
return getParty(ChatUserManager.getChatUser(uuid).getPartyId());
for(Party party : parties) {
if(party.getPartyUsers().containsKey(uuid)) {
return party;
}
}
return null;
}
public static void loadParties() {