mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
Update AbstractGuiGame.java
This commit is contained in:
@@ -667,7 +667,7 @@ public abstract class AbstractGuiGame implements IGuiGame, IMayViewCards {
|
|||||||
|
|
||||||
@Override
|
@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) {
|
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);
|
return getChoices(title, min, max, sourceChoices);
|
||||||
}
|
}
|
||||||
final int m2 = min >= 0 ? sourceChoices.size() - min : -1;
|
final int m2 = min >= 0 ? sourceChoices.size() - min : -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user