forked from External/mage
Fixed Duplicant getting boost from Commander in command zone (#3299)
This commit is contained in:
parent
962ec40d4c
commit
4bf436b0f4
3 changed files with 14 additions and 2 deletions
|
|
@ -118,6 +118,15 @@ public class Exile implements Serializable, Copyable<Exile> {
|
|||
return new Exile(this);
|
||||
}
|
||||
|
||||
public boolean containsId(UUID cardId, Game game) {
|
||||
for (Card card : getAllCards(game)) {
|
||||
if (card.getId().equals(cardId)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
for (ExileZone exile : exileZones.values()) {
|
||||
exile.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue