mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
[FIX] Fixes issue 305.
This commit is contained in:
parent
02188fe73a
commit
47d759c850
1 changed files with 1 additions and 2 deletions
|
@ -129,8 +129,7 @@ class VengevineWatcher extends WatcherImpl<VengevineWatcher> {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void watch(GameEvent event, Game game) {
|
public void watch(GameEvent event, Game game) {
|
||||||
if (condition == true) //no need to check - condition has already occured
|
condition = false;
|
||||||
return;
|
|
||||||
if (event.getType() == EventType.SPELL_CAST && event.getPlayerId().equals(controllerId)) {
|
if (event.getType() == EventType.SPELL_CAST && event.getPlayerId().equals(controllerId)) {
|
||||||
Spell spell = game.getStack().getSpell(event.getTargetId());
|
Spell spell = game.getStack().getSpell(event.getTargetId());
|
||||||
if (spell != null && spell.getCardType().contains(CardType.CREATURE)) {
|
if (spell != null && spell.getCardType().contains(CardType.CREATURE)) {
|
||||||
|
|
Loading…
Reference in a new issue