mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
text fix forWheel of Misfortune #7292
This commit is contained in:
parent
7753ca305e
commit
9f63c3f1f6
1 changed files with 2 additions and 2 deletions
|
@ -70,12 +70,12 @@ class WheelOfMisfortuneEffect extends OneShotEffect {
|
|||
if (player == null) {
|
||||
continue;
|
||||
}
|
||||
game.informPlayers(player.getName() + " chose " + playerMap);
|
||||
game.informPlayers(player.getName() + " chose " + entry.getValue());
|
||||
}
|
||||
int maxValue = playerMap.values().stream().mapToInt(x -> x).max().orElse(0);
|
||||
game.informPlayers("The highest number chosen was " + maxValue);
|
||||
int minValue = playerMap.values().stream().mapToInt(x -> x).min().orElse(0);
|
||||
game.informPlayers("The lowest number chosen was " + maxValue);
|
||||
game.informPlayers("The lowest number chosen was " + minValue);
|
||||
for (Map.Entry<UUID, Integer> entry : playerMap.entrySet()) {
|
||||
Player player = game.getPlayer(entry.getKey());
|
||||
if (player == null) {
|
||||
|
|
Loading…
Reference in a new issue