From 4b0458866bc8ed1f77ee454b3f369fc48f06b897 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Mon, 1 Jul 2019 19:53:29 -0400 Subject: [PATCH] fixed Chandra's Embercat mana not casting Chandra planeswalkers --- Mage.Sets/src/mage/cards/c/ChandrasEmbercat.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/ChandrasEmbercat.java b/Mage.Sets/src/mage/cards/c/ChandrasEmbercat.java index 70895de043..91ad8661d2 100644 --- a/Mage.Sets/src/mage/cards/c/ChandrasEmbercat.java +++ b/Mage.Sets/src/mage/cards/c/ChandrasEmbercat.java @@ -64,14 +64,15 @@ class ChandrasEmbercatManaCondition extends CreatureCastManaCondition { @Override public boolean apply(Game game, Ability source) { - if (super.apply(game, source)) { - MageObject object = game.getObject(source.getSourceId()); - if (object != null && object.hasSubtype(SubType.ELEMENTAL, game) - || (object.hasSubtype(SubType.CHANDRA, game) && object.isPlaneswalker())) { - return true; - } + if (!super.apply(game, source)) { + return false; } - return false; + MageObject object = game.getObject(source.getSourceId()); + if (object == null) { + return false; + } + return object.hasSubtype(SubType.ELEMENTAL, game) + || (object.hasSubtype(SubType.CHANDRA, game) && object.isPlaneswalker()); } }