Skip to content

Commit

Permalink
dev env check
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Sep 30, 2024
1 parent de4bcef commit e864862
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ public static void execute() {
// TODO switch to nonCriticalIoPool() in 1.21.1
Util.ioPool().submit(() -> {
String uri = String.format(
"https://update.api.ithundxr.dev/update-check?mod_id=%s&mod_version=%s&mc_version=%s&loader=%s",
"https://update.api.ithundxr.dev/update-check?mod_id=%s&mod_version=%s&mc_version=%s&loader=%s&dev=%s",
Railways.MODID,
RailwaysBuildInfo.VERSION,
SharedConstants.getCurrentVersion().getName(),
Loader.getActual()
Loader.getActual(),
Utils.isDevEnv()
);

HttpRequest request = HttpRequest.newBuilder()
Expand Down

0 comments on commit e864862

Please sign in to comment.