Fix Braids, Arisen Nightmare drawing cards for players who lost the game that turn

This commit is contained in:
PurpleCrowbar 2023-05-03 16:46:36 +01:00
parent ffef3b25cd
commit e2d2d1f08e

View file

@ -101,7 +101,7 @@ class BraidsArisenNightmareEffect extends OneShotEffect {
if (!permanent.sacrifice(source, game)) { if (!permanent.sacrifice(source, game)) {
return false; return false;
} }
for (UUID opponentId : game.getOpponents(controller.getId())) { for (UUID opponentId : game.getOpponents(controller.getId(), true)) {
Player opponent = game.getPlayer(opponentId); Player opponent = game.getPlayer(opponentId);
if (opponent == null) { if (opponent == null) {
continue; continue;