* Dawn Evangel - fixed not working triggered ability;

This commit is contained in:
Oleg Agafonov 2020-01-23 10:46:59 +04:00
parent 2ca1643b54
commit b2af8a3887

View file

@ -78,7 +78,7 @@ class DawnEvangelAbility extends DiesCreatureTriggeredAbility {
.map(game::getPermanentOrLKIBattlefield) .map(game::getPermanentOrLKIBattlefield)
.filter(Objects::nonNull) .filter(Objects::nonNull)
.filter(permanent -> permanent.hasSubtype(SubType.AURA, game)) .filter(permanent -> permanent.hasSubtype(SubType.AURA, game))
.map(Permanent::getId) .map(Permanent::getControllerId)
.anyMatch(getControllerId()::equals); .anyMatch(getControllerId()::equals);
} }