[SCG] Fix Stabilizer for #9097 (#9102)

Addresses #9097
This commit is contained in:
Grath 2022-06-12 12:44:19 -04:00 committed by GitHub
parent 048fcba222
commit 95ede50523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,9 +2,9 @@ package mage.cards.s;
import mage.MageObject;
import mage.abilities.Ability;
import mage.abilities.LoyaltyAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.effects.ContinuousRuleModifyingEffectImpl;
import mage.abilities.keyword.CyclingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -73,6 +73,6 @@ class StabilizerEffect extends ContinuousRuleModifyingEffectImpl {
return false;
}
Ability ability = game.getAbility(event.getTargetId(), event.getSourceId()).orElse(null);
return ability instanceof LoyaltyAbility;
return ability instanceof CyclingAbility;
}
}