Merge branch 'kevlahnota-master-patch-32824' into 'master'

Update AbstractGuiGame.java

See merge request core-developers/forge!4045
This commit is contained in:
Anthony Calosa
2021-02-28 10:09:54 +00:00

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;