[FIX] Fixes issue 305.

This commit is contained in:
maurer.it 2011-10-20 20:09:38 -04:00
parent 02188fe73a
commit 47d759c850

View file

@ -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)) {