mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
* Exile dialog - Fixed that cards from exile windows with mixed owners were not all shown in exile dialog.
This commit is contained in:
parent
1e225cdf78
commit
0d5326683c
1 changed files with 3 additions and 4 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue