mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
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
|
|
@ -575,7 +575,7 @@ public class HumanPlayer extends PlayerImpl {
|
|||
if (object != null) {
|
||||
Zone zone = game.getState().getZone(object.getId());
|
||||
if (zone != null) {
|
||||
if (object instanceof Card && ((Card) object).isFaceDown()) {
|
||||
if (object instanceof Card && ((Card) object).isFaceDown(game)) {
|
||||
revealFaceDownCard((Card) object, game);
|
||||
result = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue