Add PartyUser implement it into Party

This commit is contained in:
destro174
2021-08-08 22:07:47 +02:00
parent aaaa46e97f
commit 0ace870550
7 changed files with 108 additions and 51 deletions
@@ -46,7 +46,7 @@ public class PartyManager {
public static Party getParty(UUID uuid) {
for(Party party : parties) {
if(party.getPartyUsers().containsKey(uuid)) {
if(party.getPartyUsersUuid().contains(uuid)) {
return party;
}
}