Skip to content

Commit

Permalink
Fix contains check based on mod instance rather than id
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt authored Feb 4, 2025
1 parent a689cd0 commit 3fbd435
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void runWithExceptions() {
.stream().map(m -> m.getProjectId(platform))
.filter(Objects::nonNull).collect(Collectors.toSet());
for (PlatformMod mod : latestReleasedMod) {
if (!knownModIds.contains(mod)) {
if (!knownModIds.contains(mod.getId())) {
// ...and queue them for indexing
var file = mod.getLatestFile(version);
if (file != null) {
Expand Down

0 comments on commit 3fbd435

Please sign in to comment.