Skip to content

Commit

Permalink
Increment the latestAmount...
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Feb 4, 2025
1 parent e63b832 commit 54df75e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public void runWithExceptions() {
var latestItr = platform.searchMods(version, ModPlatform.SearchSortField.NEWEST_RELEASED);
while (latestItr.hasNext() && latestAmount < platform.pageLimit()) {
var next = itr.next();
latestAmount++;
if (!next.isAvailable()) continue;
if (knownPids.add(next.getId())) {
latestReleasedMod.add(next);
Expand Down

0 comments on commit 54df75e

Please sign in to comment.