Fixed Yarok's Fenlurker

This commit is contained in:
jeffwadsworth 2019-11-22 08:43:55 -06:00
parent 6d21c9d3dc
commit db9bdfdd5c

View file

@ -75,7 +75,8 @@ class YaroksFenlurkerEffect extends OneShotEffect {
Map<UUID, Cards> cardsToExile = new HashMap<>();
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
Player opponent = game.getPlayer(opponentId);
if (opponent == null) {
if (opponent == null
|| opponent.getHand().isEmpty()) {
continue;
}
int numberOfCardsToExile = Math.min(1, opponent.getHand().size());