mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Fixed error of CastFromHandCondition.
This commit is contained in:
parent
ad49eeb4ea
commit
6299425c1d
2 changed files with 3 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ public class CastFromHandCondition implements Condition {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
CastFromHandWatcher watcher = (CastFromHandWatcher) game.getState().getWatchers().get(CastFromHandWatcher.class.getName(), source.getSourceId());
|
||||
CastFromHandWatcher watcher = (CastFromHandWatcher) game.getState().getWatchers().get(CastFromHandWatcher.class.getName());
|
||||
if (watcher != null && watcher.spellWasCastFromHand(source.getSourceId())) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue