mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +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 (ExileZone exileZone : game.getExile().getExileZones()) {
|
||||||
for (Card card : exileZone.getCards(game)) {
|
for (Card card : exileZone.getCards(game)) {
|
||||||
if (!player.getId().equals(card.getOwnerId())) {
|
if (player.getId().equals(card.getOwnerId())) {
|
||||||
break;
|
exile.put(card.getId(), new CardView(card));
|
||||||
}
|
}
|
||||||
exile.put(card.getId(), new CardView(card));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (Permanent permanent: state.getBattlefield().getAllPermanents()) {
|
for (Permanent permanent: state.getBattlefield().getAllPermanents()) {
|
||||||
|
|
Loading…
Reference in a new issue