Update AbstractGuiGame.java

This commit is contained in:
Anthony Calosa
2021-02-28 10:09:42 +00:00
parent 9e3f7a72e2
commit 58bc169b6e

View File

@@ -667,7 +667,7 @@ public abstract class AbstractGuiGame implements IGuiGame, IMayViewCards {
@Override
public <T> List<T> many(final String title, final String topCaption, final int min, final int max, final List<T> sourceChoices, final CardView c) {
if (max <= 1) {
if (max == 1) {
return getChoices(title, min, max, sourceChoices);
}
final int m2 = min >= 0 ? sourceChoices.size() - min : -1;