[SNC] Fix for Currency Converter (#8928)

This commit is contained in:
Alex Vasile 2022-05-12 07:53:32 -06:00 committed by GitHub
commit 69008906d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ class CurrencyConverterExileEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
Card card = (Card) getValue("discardedCard");
if (player == null || card == null || card.isOwnedBy(player.getId())
if (player == null || card == null || !card.isOwnedBy(player.getId())
|| !Zone.GRAVEYARD.match(game.getState().getZone(card.getId()))) {
return false;
}