mirror of
https://github.com/correl/mage.git
synced 2025-04-13 09:11:06 -09:00
Fixed Yarok's Fenlurker
This commit is contained in:
parent
6d21c9d3dc
commit
db9bdfdd5c
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ class YaroksFenlurkerEffect extends OneShotEffect {
|
||||||
Map<UUID, Cards> cardsToExile = new HashMap<>();
|
Map<UUID, Cards> cardsToExile = new HashMap<>();
|
||||||
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
|
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
|
||||||
Player opponent = game.getPlayer(opponentId);
|
Player opponent = game.getPlayer(opponentId);
|
||||||
if (opponent == null) {
|
if (opponent == null
|
||||||
|
|| opponent.getHand().isEmpty()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
int numberOfCardsToExile = Math.min(1, opponent.getHand().size());
|
int numberOfCardsToExile = Math.min(1, opponent.getHand().size());
|
||||||
|
|
Loading…
Add table
Reference in a new issue