Fix Great Unclean One counting players who have lost the game that turn

This commit is contained in:
PurpleCrowbar 2023-03-04 12:12:48 +00:00
parent 1a96b0f065
commit 81842c83e3

View file

@ -63,7 +63,7 @@ enum GreatUncleanOneValue implements DynamicValue {
} }
int life = player.getLife(); int life = player.getLife();
return game return game
.getOpponents(player.getId()) .getOpponents(player.getId(), true)
.stream() .stream()
.map(game::getPlayer) .map(game::getPlayer)
.filter(Objects::nonNull) .filter(Objects::nonNull)