mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
* AEtherspouts - Fixed possible null pointer exception.
This commit is contained in:
parent
8f690f7e02
commit
71764b763a
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ class AEtherspoutsEffect extends OneShotEffect {
|
|||
player.moveCardToLibraryWithInfo(permanent, source.getSourceId(), game, Zone.BATTLEFIELD, false, false);
|
||||
}
|
||||
player = playerList.getNext(game);
|
||||
} while (!player.getId().equals(game.getActivePlayerId()));
|
||||
} while (player != null && !player.getId().equals(game.getActivePlayerId()));
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue