mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
fix #8139 nullpointer
This commit is contained in:
parent
e488997124
commit
5111438750
1 changed files with 1 additions and 1 deletions
|
@ -114,6 +114,6 @@ class WildMagicSorcererWatcher extends Watcher {
|
|||
}
|
||||
WildMagicSorcererWatcher watcher = game.getState().getWatcher(WildMagicSorcererWatcher.class);
|
||||
return watcher.playerMap.containsKey(stackObject.getControllerId())
|
||||
&& watcher.playerMap.get(stackObject).refersTo(((Spell) stackObject).getMainCard(), game);
|
||||
&& watcher.playerMap.get(stackObject.getControllerId()).refersTo(((Spell) stackObject).getMainCard(), game);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue