* Exile dialog - Fixed that cards from exile windows with mixed owners were not all shown in exile dialog.

This commit is contained in:
LevelX2 2014-10-11 00:36:38 +02:00
parent 1e225cdf78
commit 0d5326683c

View file

@ -85,10 +85,9 @@ public class PlayerView implements Serializable {
}
for (ExileZone exileZone : game.getExile().getExileZones()) {
for (Card card : exileZone.getCards(game)) {
if (!player.getId().equals(card.getOwnerId())) {
break;
}
exile.put(card.getId(), new CardView(card));
if (player.getId().equals(card.getOwnerId())) {
exile.put(card.getId(), new CardView(card));
}
}
}
for (Permanent permanent: state.getBattlefield().getAllPermanents()) {