mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
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:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user