This commit is contained in:
destro174 committed 2021-08-08 14:53:18 +02:00
commit e7072a409e
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() {