mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Changed to use convention.
This commit is contained in:
parent
d6bdb39041
commit
bff36ecfb9
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue