Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Debug line
  • Loading branch information
Prospector authored and Jab125 committed Nov 11, 2026
commit 36282db0dd5211c206146f65f61b2b4462c4ec81
4 changes: 2 additions & 2 deletions src/main/java/com/terraformersmc/modmenu/ModMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ public void onInitializeClient() {
QuiltMod mod = new QuiltMod(modContainer);
MODS.put(mod.getId(), mod);

ModrinthUtil.checkForUpdates(mod);
ModrinthUtil.checkForUpdates();
}else {
FabricMod mod = new FabricMod(modContainer);
MODS.put(mod.getId(), mod);

ModrinthUtil.checkForUpdates(mod);
ModrinthUtil.checkForUpdates();
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static void checkForUpdates() {

final var userAgent = "%s/%s (%s/%s)".formatted(ModMenu.GITHUB_REF, modMenuVersion, mcVer, loader);
String body = ModMenu.GSON_MINIFIED.toJson(new LatestVersionsFromHashesBody(HASH_TO_MOD.keySet(), loader, mcVer));
LOGGER.info("User agent: " + userAgent);
LOGGER.debug("User agent: " + userAgent);
LOGGER.debug("Body: " + body);
var latestVersionsRequest = HttpRequest.newBuilder()
.POST(HttpRequest.BodyPublishers.ofString(body))
Expand Down
Loading