Merge pull request #1 from sschr15/patch-1

Change quilt-to-intermediary saved file name to prevent Windows-based errors
This commit is contained in:
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

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();