mirror of
https://github.com/correl/mage.git
synced 2024-11-25 19:19:55 +00:00
Merge pull request #6238 from dragonfyre23/gargos-vicious-watcher-bug
Bug fix for Gargos, Vicious Watcher.
This commit is contained in:
commit
5d29467f8f
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(); // must specify a type of spell
|
||||
return object instanceof Spell; // must be a type of spell (instant, sorcery, or aura)
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue