Changed to use convention.

This commit is contained in:
dragonfyre23 2020-01-30 15:40:09 -05:00
parent d6bdb39041
commit bff36ecfb9

View file

@ -17,6 +17,7 @@ import mage.game.Game;
import mage.game.events.GameEvent;
import mage.game.permanent.Permanent;
import mage.target.TargetPermanent;
import mage.game.stack.Spell;
import java.util.UUID;
@ -97,7 +98,7 @@ class GargosViciousWatcherTriggeredAbility extends TriggeredAbilityImpl {
|| !permanent.isCreature()) {
return false;
}
return object.isInstantOrSorcery() || object.isEnchantment(); // must be a type of spell (instant, sorcery, or aura)
return object instanceof Spell; // must be a type of spell (instant, sorcery, or aura)
}