Fixed draft games collections showing up for people not part of said games
This commit is contained in:
@@ -241,7 +241,10 @@ public class CollectionRequestHandler extends LotroServerRequestHandler implemen
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (var tourney : _tournamentService.getLiveTournaments()) {
|
for (var tourney : _tournamentService.getLiveTournaments()) {
|
||||||
if(tourney.getInfo().Parameters().type == Tournament.TournamentType.CONSTRUCTED)
|
if (tourney.getInfo().Parameters().type == Tournament.TournamentType.CONSTRUCTED)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (!tourney.isPlayerInCompetition(resourceOwner.getName()))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
CollectionType collectionType = tourney.getCollectionType();
|
CollectionType collectionType = tourney.getCollectionType();
|
||||||
|
|||||||
Reference in New Issue
Block a user