Fixed draft games collections showing up for people not part of said games
This commit is contained in:
@@ -244,6 +244,9 @@ public class CollectionRequestHandler extends LotroServerRequestHandler implemen
|
||||
if (tourney.getInfo().Parameters().type == Tournament.TournamentType.CONSTRUCTED)
|
||||
continue;
|
||||
|
||||
if (!tourney.isPlayerInCompetition(resourceOwner.getName()))
|
||||
continue;
|
||||
|
||||
CollectionType collectionType = tourney.getCollectionType();
|
||||
Element collectionElem = doc.createElement("collection");
|
||||
collectionElem.setAttribute("type", collectionType.getCode());
|
||||
|
||||
Reference in New Issue
Block a user