* Yarok's Fenlurker - fixed rollback error with empty hand;

This commit is contained in:
Oleg Agafonov 2020-01-05 04:25:49 +04:00
parent ebdba3c57e
commit 126c2f9b92

View file

@ -90,7 +90,7 @@ class YaroksFenlurkerEffect extends OneShotEffect {
Cards cardsOpponentsChoseToExile = new CardsImpl();
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
Player opponent = game.getPlayer(opponentId);
if (opponent == null) {
if (opponent == null || !cardsToExile.containsKey(opponentId)) {
continue;
}
cardsOpponentsChoseToExile.addAll(cardsToExile.get(opponentId));