From 731d2264dea1afbc2f6397ebe2fcee5932275308 Mon Sep 17 00:00:00 2001 From: shartte Date: Tue, 3 Dec 2024 20:28:05 +0100 Subject: [PATCH] Fix JSON type of "spec" field in installer profile JSON (#1723) (#1727) --- .../neoforged/neodev/installer/CreateInstallerProfile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/java/net/neoforged/neodev/installer/CreateInstallerProfile.java b/buildSrc/src/main/java/net/neoforged/neodev/installer/CreateInstallerProfile.java index 3b745f744a..c9da8c83ec 100644 --- a/buildSrc/src/main/java/net/neoforged/neodev/installer/CreateInstallerProfile.java +++ b/buildSrc/src/main/java/net/neoforged/neodev/installer/CreateInstallerProfile.java @@ -178,7 +178,7 @@ public void createInstallerProfile() throws IOException { )))); var profile = new InstallerProfile( - "1", + 1, "NeoForge", "neoforge-%s".formatted(getNeoForgeVersion().get()), icon, @@ -203,7 +203,7 @@ public void createInstallerProfile() throws IOException { } record InstallerProfile( - String spec, + int spec, String profile, String version, String icon,