mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
ColorIdentity: Check for CDA text
This commit is contained in:
committed by
Hans Mackowiak
parent
59b68d80ca
commit
d9340349fa
@@ -167,10 +167,7 @@ public class Zone implements java.io.Serializable, Iterable<Card> {
|
||||
cardList.clear();
|
||||
} else {
|
||||
for (Card c : cardList) {
|
||||
if (cardList.remove(c)) {
|
||||
onChanged();
|
||||
game.fireEvent(new GameEventZone(zoneType, getPlayer(), EventValueChangeType.Removed, c));
|
||||
}
|
||||
remove(c);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -208,12 +205,10 @@ public class Zone implements java.io.Serializable, Iterable<Card> {
|
||||
}
|
||||
|
||||
public final List<Card> getCardsAddedThisTurn(final ZoneType origin) {
|
||||
//System.out.print("Request cards put into " + getZoneType() + " from " + origin + ".Amount: ");
|
||||
return getCardsAdded(cardsAddedThisTurn, origin);
|
||||
}
|
||||
|
||||
public final List<Card> getCardsAddedLastTurn(final ZoneType origin) {
|
||||
//System.out.print("Last turn - Request cards put into " + getZoneType() + " from " + origin + ".Amount: ");
|
||||
return getCardsAdded(cardsAddedLastTurn, origin);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user