fixed tall decay targeting too many faces

This commit is contained in:
James 2024-04-21 17:26:00 +01:00
parent ac960c53cd
commit a1b1b5a8b9

View file

@ -22,8 +22,12 @@ public class TallDecay extends Decay {
if (die.getFaceValue() < highestValue) continue;
targets.add(die);
if (die.getFaceValue() > highestValue) {
highestValue = die.getFaceValue();
targets.clear();
}
targets.add(die);
}
return targets;