aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
diff options
context:
space:
mode:
authormodmuss50 <modmuss50@gmail.com>2021-07-13 23:10:07 +0100
committerGitHub <noreply@github.com>2021-07-13 23:10:07 +0100
commit2259a4efc8f4dad35880b41cb8be59bc5b857f9b (patch)
tree6c7bf619cdff947d3041830db09f0194eac1cd34 /src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
parente3b2f8610e4ae1f1db99f63e40bf6c70d17273b6 (diff)
downloadarchitectury-loom-2259a4efc8f4dad35880b41cb8be59bc5b857f9b.tar.gz
architectury-loom-2259a4efc8f4dad35880b41cb8be59bc5b857f9b.tar.bz2
architectury-loom-2259a4efc8f4dad35880b41cb8be59bc5b857f9b.zip
Add versions used to compile/build against to jar manifest (#428)
* Add versions used to compile/build against to jar manifest * checkstyle * Move to post remap * Fix build * Add mc version and mixin group * Typo * Make test run across versions better.
Diffstat (limited to 'src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java')
-rw-r--r--src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java b/src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
index 2bd2f540..f6252882 100644
--- a/src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
+++ b/src/main/java/net/fabricmc/loom/configuration/ide/RunConfig.java
@@ -120,7 +120,7 @@ public class RunConfig {
if (extension.getLoaderLaunchMethod().equals("launchwrapper")) {
// if installer.json found...
- JsonObject installerJson = extension.getInstallerJson();
+ JsonObject installerJson = extension.getInstallerData().installerJson();
if (installerJson != null) {
List<String> sideKeys = ImmutableList.of(environment, "common");
@@ -244,7 +244,7 @@ public class RunConfig {
}
private static String getMainClass(String side, LoomGradleExtension extension, String defaultMainClass) {
- JsonObject installerJson = extension.getInstallerJson();
+ JsonObject installerJson = extension.getInstallerData().installerJson();
if (installerJson != null && installerJson.has("mainClass")) {
JsonElement mainClassJson = installerJson.get("mainClass");