From e5ad4e186c8ef68d8ad8b15177518cf053c56681 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Fri, 29 Nov 2024 02:15:00 -0700 Subject: [PATCH] Fix getKnownIndyBsms storing a set in a list without sorting (#1225) * Cache source mappings (#1220) (#1221) * Fix getKnownIndyBsms storing a set in a list This caused remapJar to re-run unnecessarily --------- Co-authored-by: modmuss --- .../net/fabricmc/loom/task/service/TinyRemapperService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/fabricmc/loom/task/service/TinyRemapperService.java b/src/main/java/net/fabricmc/loom/task/service/TinyRemapperService.java index 9ef76594d..7f0ae8d13 100644 --- a/src/main/java/net/fabricmc/loom/task/service/TinyRemapperService.java +++ b/src/main/java/net/fabricmc/loom/task/service/TinyRemapperService.java @@ -110,7 +110,7 @@ public static Provider createOptions(AbstractRemapJarTask remapJarTask) options.getUselegacyMixinAP().set(legacyMixin); options.getKotlinClasspathService().set(KotlinClasspathService.createOptions(project)); options.getClasspath().from(classpath); - options.getKnownIndyBsms().set(extension.getKnownIndyBsms()); + options.getKnownIndyBsms().set(extension.getKnownIndyBsms().get().stream().sorted().toList()); options.getRemapperExtensions().set(extension.getRemapperExtensions()); }); }