mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00: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…
Reference in a new issue