From 11f5ae5b59d5a5e2ec583fdcb84c2a5de2dfade2 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Fri, 29 Nov 2019 22:20:23 +0400 Subject: [PATCH] * Escaped Shapeshifter - fixed that it doesn't count Escaped Shapeshifter to apply effect; --- Mage.Sets/src/mage/cards/e/EscapedShapeshifter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/e/EscapedShapeshifter.java b/Mage.Sets/src/mage/cards/e/EscapedShapeshifter.java index 93457726f3..20414b5be9 100644 --- a/Mage.Sets/src/mage/cards/e/EscapedShapeshifter.java +++ b/Mage.Sets/src/mage/cards/e/EscapedShapeshifter.java @@ -72,7 +72,7 @@ class EscapedShapeshifterEffect extends ContinuousEffectImpl { source.getControllerId(), source.getSourceId(), game ).stream() .filter(Objects::nonNull) - .filter(permanent -> permanent.getName() != "Escaped Shapeshifter") + .filter(permanent -> !permanent.getName().equals(sourcePermanent.getName())) .map(Permanent::getAbilities) .flatMap(Collection::stream).filter(EscapedShapeshifterEffect::checkAbility) .forEach(ability -> sourcePermanent.addAbility(ability, source.getSourceId(), game));