[MID] Fix Unblinking Observer mana condition

This commit is contained in:
Alex W. Jackson 2022-10-27 13:42:16 -04:00
parent c68ef669e0
commit 543c19bd2c

View file

@ -75,11 +75,14 @@ class UnblinkingObserverManaCondition extends ManaCondition implements Condition
@Override
public boolean apply(Game game, Ability source) {
if (source instanceof DisturbAbility) {
return true;
}
if (source instanceof SpellAbility) {
MageObject object = game.getObject(source);
return object != null && object.isInstantOrSorcery(game);
}
return source instanceof DisturbAbility;
return false;
}
@Override