diff --git a/build.gradle b/build.gradle index a877a6627..ee1a2b8b4 100755 --- a/build.gradle +++ b/build.gradle @@ -101,7 +101,9 @@ task sourceJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.api.allSource } -if (!getProject().hasProperty("baritone.fabric_build")) { +if (getProject().hasProperty("baritone.fabric_build")) { + minecraft.refmapName="mixins.baritone.refmap.json" +} else { minecraft { mappings mcpVersion @@ -151,7 +153,7 @@ if (!getProject().hasProperty("baritone.fabric_build")) { mixin { defaultObfuscationEnv searge - add sourceSets.launch, 'baritone-refmap.json' + add sourceSets.launch, 'mixins.baritone.refmap.json' } } diff --git a/src/launch/resources/mixins.baritone.json b/src/launch/resources/mixins.baritone.json index c52948a77..12584443f 100644 --- a/src/launch/resources/mixins.baritone.json +++ b/src/launch/resources/mixins.baritone.json @@ -1,7 +1,7 @@ { "required": true, "package": "baritone.launch.mixins", - "refmap": "baritone-refmap.json", + "refmap": "mixins.baritone.refmap.json", "compatibilityLevel": "JAVA_8", "verbose": false, "injectors": {