Merge pull request #1 from sschr15/patch-1

Change quilt-to-intermediary saved file name to prevent Windows-based errors
master
Eli Orona 2021-10-26 18:33:39 -07:00 committed by GitHub
commit 67c4d738d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public class QuiltMappingsOnLoomPlugin implements Plugin<Project> {
public void visit(MappingVisitor mappingVisitor) throws IOException {
String minecraftVersion = context.minecraftProvider().minecraftVersion();
File intermediaryToQm = project.file(".gradle/qm/qm_to_intermediary_" + quiltMappings + ".tiny");
File intermediaryToQm = project.file(".gradle/qm/qm_to_intermediary_" + quiltMappings.split(':')[2] + ".tiny");
if (!intermediaryToQm.exists()) {
Set<File> quiltmappings = project.getConfigurations().detachedConfiguration(project.getDependencies().create(quiltMappings)).resolve();