forked from External/mage
One with the Multiverse - fixed game error on empty library (NPE)
This commit is contained in:
parent
1737a0a9eb
commit
7f2238bc83
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ class OneWithTheMultiverseEffect extends AsThoughEffectImpl {
|
||||||
|| card == null
|
|| card == null
|
||||||
|| watcher == null
|
|| watcher == null
|
||||||
|| sourceObject == null
|
|| sourceObject == null
|
||||||
|
|| controller.getLibrary().getFromTop(game) == null
|
||||||
|| watcher.isAbilityUsed(new MageObjectReference(sourceObject, game))) {
|
|| watcher.isAbilityUsed(new MageObjectReference(sourceObject, game))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue