figure out how to revert "fix refmap location to be fabric-compliant"

I did some reading
This commit is contained in:
wagyourtail 2021-01-20 18:09:20 -07:00
parent 7fbe9c062e
commit 2c3f352d0d
2 changed files with 5 additions and 3 deletions

View File

@ -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'
}
}

View File

@ -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": {