fix for having 2 Legendary creatures with the same name on the battlefield, but one of them is face down both going to the graveyard. Now, isFaceDown() is checked.

This commit is contained in:
slapshot5
2011-09-05 22:28:08 +00:00
parent 870972d091
commit 8de408cd65

View File

@@ -778,6 +778,11 @@ public class GameAction {
while (!a.isEmpty() && !AllZoneUtil.isCardInPlay("Mirror Gallery")) {
CardList b = AllZoneUtil.getCardsInPlay(a.get(0).getName());
b = b.filter(new CardListFilter() {
public boolean addCard(final Card c) {
return !c.isFaceDown();
}
});
a.remove(0);
if (1 < b.size()) {
for (int i = 0; i < b.size(); i++)