Skip to content

Commit

Permalink
Fix NeoForge mod dependency remapping using wrong mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuxel committed Nov 2, 2023
1 parent 93c88cf commit 47cb84a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void remapJars(List<ModDependency> remapList) throws IOException {
LoggerFilter.replaceSystemOut();
TinyRemapper.Builder builder = TinyRemapper.newRemapper()
.withKnownIndyBsm(extension.getKnownIndyBsms().get())
.withMappings(TinyRemapperHelper.create(mappingConfiguration.getMappingsService(serviceManager).getMappingTree(), fromM, toM, false))
.withMappings(TinyRemapperHelper.create(mappings, fromM, toM, false))
.logger(project.getLogger()::lifecycle)
.logUnknownInvokeDynamic(false)
.renameInvalidLocals(false)
Expand Down

0 comments on commit 47cb84a

Please sign in to comment.