[VOC] fixed Umbris, Fear Manifest NPE error (fixes #9044)

This commit is contained in:
Evan Kranzler 2022-05-31 18:23:14 -04:00
parent 19a9c0df43
commit 4324c75e29

View file

@ -128,8 +128,7 @@ class UmbrisFearManifestEffect extends OneShotEffect {
if (player == null) {
return false;
}
for (int i = 0; i < 1000; i++) { // avoiding a loop
Card card = player.getLibrary().getFromTop(game);
for (Card card : player.getLibrary().getCards(game)) {
player.moveCards(card, Zone.EXILED, source, game);
if (card.isLand(game)) {
break;