Fix Echoes of Eternity (#12419)

This commit is contained in:
Alexander Novotny 2024-06-06 19:23:39 -04:00 committed by GitHub
parent 668808a7d5
commit ebc58723f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,8 @@ class EchoesOfEternityEffect extends ReplacementEffectImpl {
return false;
}
Permanent permanent = game.getPermanent(event.getSourceId());
if (permanent != null && permanent.getColor(game).isColorless()) {
if (permanent != null && permanent.getColor(game).isColorless()
&& !permanent.getId().equals(source.getSourceId())) {
return true;
}
Spell spell = game.getSpell(event.getSourceId());