From aea1738cb0757b7da0bda28c7b8bc9d548c172a6 Mon Sep 17 00:00:00 2001 From: deirn Date: Wed, 5 Jun 2024 17:01:53 +0700 Subject: [PATCH] fix mixin config not getting added to manifest --- platform/forge/build.gradle.kts | 4 ++++ platform/forge/src/main/resources/badpackets.refmap.json | 1 + platform/neo/src/main/resources/badpackets.refmap.json | 1 + 3 files changed, 6 insertions(+) create mode 100644 platform/forge/src/main/resources/badpackets.refmap.json create mode 100644 platform/neo/src/main/resources/badpackets.refmap.json diff --git a/platform/forge/build.gradle.kts b/platform/forge/build.gradle.kts index 86a4eff..4427420 100644 --- a/platform/forge/build.gradle.kts +++ b/platform/forge/build.gradle.kts @@ -69,6 +69,10 @@ tasks.processResources { tasks.jar { archiveClassifier = "dev" finalizedBy("jarJar") + + manifest.attributes(mapOf( + "MixinConfigs" to "badpackets.mixins.json" + )) } tasks.jarJar { diff --git a/platform/forge/src/main/resources/badpackets.refmap.json b/platform/forge/src/main/resources/badpackets.refmap.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/platform/forge/src/main/resources/badpackets.refmap.json @@ -0,0 +1 @@ +{} diff --git a/platform/neo/src/main/resources/badpackets.refmap.json b/platform/neo/src/main/resources/badpackets.refmap.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/platform/neo/src/main/resources/badpackets.refmap.json @@ -0,0 +1 @@ +{}