From 78e788dca0cca220294c317ca9addc4d8b2cb980 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 7 Jul 2023 20:55:28 +0200 Subject: [PATCH] - indicate 1.20.1 support on modrinth (#3950) - fix plan incompatibility by setting a proper refmap json name --- bootstrap/fabric/build.gradle.kts | 6 +++++- .../fabric/src/main/resources/geyser-fabric.mixins.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bootstrap/fabric/build.gradle.kts b/bootstrap/fabric/build.gradle.kts index 44714cc7c..c260703a5 100644 --- a/bootstrap/fabric/build.gradle.kts +++ b/bootstrap/fabric/build.gradle.kts @@ -35,6 +35,10 @@ dependencies { } } +loom { + mixin.defaultRefmapName.set("geyser-fabric-refmap.json") +} + repositories { mavenLocal() maven("https://repo.opencollab.dev/maven-releases/") @@ -114,7 +118,7 @@ modrinth { syncBodyFrom.set(rootProject.file("README.md").readText()) uploadFile.set(tasks.getByPath("remapModrinthJar")) - gameVersions.addAll("1.20") + gameVersions.addAll("1.20", "1.20.1") loaders.add("fabric") failSilently.set(true) diff --git a/bootstrap/fabric/src/main/resources/geyser-fabric.mixins.json b/bootstrap/fabric/src/main/resources/geyser-fabric.mixins.json index c688ace36..aeb051809 100644 --- a/bootstrap/fabric/src/main/resources/geyser-fabric.mixins.json +++ b/bootstrap/fabric/src/main/resources/geyser-fabric.mixins.json @@ -2,6 +2,7 @@ "required": true, "package": "org.geysermc.geyser.platform.fabric.mixin", "compatibilityLevel": "JAVA_16", + "refmap": "geyser-fabric-refmap.json", "client": [ "client.IntegratedServerMixin" ],