forked from External/mage
moved faceDown property from Card to CardState
This commit is contained in:
parent
d7b9a4a979
commit
9ad8530dee
61 changed files with 378 additions and 224 deletions
|
|
@ -860,7 +860,7 @@ public abstract class AbilityImpl implements Ability {
|
|||
return false;
|
||||
}
|
||||
} else if (object instanceof PermanentCard) {
|
||||
if (((PermanentCard)object).isFaceDown()&& !this.getWorksFaceDown()) {
|
||||
if (((PermanentCard)object).isFaceDown(game)&& !this.getWorksFaceDown()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue