mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 05:27:43 -05:00
Add fixPackageAccess to MinecraftMappedProvider's tiny remapper
This commit is contained in:
@@ -171,6 +171,10 @@ public class MinecraftMappedProvider extends DependencyProvider {
|
||||
.withMappings(out -> JSR_TO_JETBRAINS.forEach(out::acceptClass))
|
||||
.renameInvalidLocals(true)
|
||||
.rebuildSourceFilenames(true)
|
||||
/* FORGE: Required for classes like aej$OptionalNamedTag (1.16.4) which are added by Forge patches.
|
||||
* They won't get remapped to their proper packages, so IllegalAccessErrors will happen without ._.
|
||||
*/
|
||||
.fixPackageAccess(true)
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user