mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
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
|
||||
|| watcher == null
|
||||
|| sourceObject == null
|
||||
|| controller.getLibrary().getFromTop(game) == null
|
||||
|| watcher.isAbilityUsed(new MageObjectReference(sourceObject, game))) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue