mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Update EscapedShapeshifter.java
This commit is contained in:
parent
b61e50ae61
commit
22f5168386
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class EscapedShapeshifterEffect extends ContinuousEffectImpl {
|
|||
source.getControllerId(), source.getSourceId(), game
|
||||
).stream()
|
||||
.filter(Objects::nonNull)
|
||||
.filter(permanent -> !permanent.getName().equals(sourcePermanent.getName()))
|
||||
.filter(permanent -> !permanent.getName().equals("Escaped Shapeshifter"))
|
||||
.map(Permanent::getAbilities)
|
||||
.flatMap(Collection::stream).filter(EscapedShapeshifterEffect::checkAbility)
|
||||
.forEach(ability -> sourcePermanent.addAbility(ability, source.getSourceId(), game));
|
||||
|
|
Loading…
Reference in a new issue