mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fixed error of CastFromHandCondition.
This commit is contained in:
parent
c83e1f29d3
commit
ad49eeb4ea
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ public class CastFromHandCondition implements Condition {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CastFromHandWatcher watcher = (CastFromHandWatcher) game.getState().getWatchers().get(CastFromHandWatcher.class.getName(), source.getSourceId());
|
CastFromHandWatcher watcher = (CastFromHandWatcher) game.getState().getWatchers().get(CastFromHandWatcher.class.getName(), source.getSourceId());
|
||||||
if (watcher != null && watcher.spellWasCastFromHand(source.getSourceId()) {
|
if (watcher != null && watcher.spellWasCastFromHand(source.getSourceId())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue