forked from External/mage
change enum equals to ==
This commit is contained in:
parent
82841c16c6
commit
d01aed42ed
40 changed files with 57 additions and 57 deletions
|
|
@ -89,7 +89,7 @@ public class PutOnLibraryTargetEffect extends OneShotEffect {
|
|||
break;
|
||||
case GRAVEYARD:
|
||||
Card card = game.getCard(targetId);
|
||||
if (card != null && game.getState().getZone(targetId).equals(Zone.GRAVEYARD)) {
|
||||
if (card != null && game.getState().getZone(targetId) == Zone.GRAVEYARD) {
|
||||
cards.add(card);
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue