Fixed game error on Nicol Bolas, God-Pharaoh usage

This commit is contained in:
Oleg Agafonov 2023-06-09 06:27:55 +04:00
parent ae5bc90915
commit ec7befa511

View file

@ -123,6 +123,7 @@ class NicolBolasGodPharaohPlusOneEffect extends OneShotEffect {
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
Player opponent = game.getPlayer(opponentId);
if (opponent == null || !cardsToExile.containsKey(opponentId)) {
continue;
}
cardsOpponentsChoseToExile.addAll(cardsToExile.get(opponentId));
opponent.moveCards(cardsOpponentsChoseToExile, Zone.EXILED, source, game);