From 5986d5752653f228b9f362c84cac2c0dde075b36 Mon Sep 17 00:00:00 2001 From: quat1024 Date: Tue, 11 Jul 2023 04:16:48 -0400 Subject: [PATCH] Fix refmap oopsie --- build.gradle | 6 ++++++ src/main/resources/templates.mixins.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 07e27dc..03e13db 100755 --- a/build.gradle +++ b/build.gradle @@ -50,6 +50,12 @@ dependencies { implementation "com.google.code.findbugs:jsr305:3.0.2" } +loom { + mixin { + defaultRefmapName = "templates.refmap.json" //see templates.mixins.json. I just like to always specify the name + } +} + processResources { inputs.property "version", project.version filesMatching("**/fabric.mod.json") { diff --git a/src/main/resources/templates.mixins.json b/src/main/resources/templates.mixins.json index 5299cec..850b920 100644 --- a/src/main/resources/templates.mixins.json +++ b/src/main/resources/templates.mixins.json @@ -16,5 +16,5 @@ "injectors": { "defaultRequire": 1 }, - "refmap": "packages.refmap.json" + "refmap": "templates.refmap.json" }