This commit is contained in:
Alex W. Jackson 2022-03-12 04:08:48 -05:00
parent 2bd82864b1
commit 7f4e691685

View file

@ -210,7 +210,7 @@ public class Modes extends LinkedHashMap<UUID, Mode> {
// use case: make all modes chooseable
if (moreCondition != null && moreCondition.apply(game, source)) {
realMaxModes = Integer.MAX_VALUE;
realMaxModes = this.size();
}
// use case: limit max modes by opponents (wtf?!)