You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a test where instead of srg names in the dependency accesstransformer.cfg file, I used mapped names instead. Tossed the new test jar into my workspace and had no issues whatsoever.
The text was updated successfully, but these errors were encountered:
Tamaized
changed the title
Other mods' Access Transformers not applied while in a deobf environment
[1.13.2] Other mods' Access Transformers not applied while in a deobf environment
Mar 17, 2019
Discovered this while debugging:
mezz/JustEnoughItems#1512 (comment)
To reiterate, I had placed a breakpoint here:
https://github.com/MinecraftForge/AccessTransformers/blob/2b9c7950bfd2e6b654fde244b789727eefaa8bc1/src/main/java/net/minecraftforge/accesstransformer/AccessTransformerEngine.java#L34
And I've noticed
fn.name
shows a mapped name whilefieldTransformers
contains all srg names (obviously) thus checking against.containsKey(fn.name)
will always fail.As shown here: https://cdn.discordapp.com/attachments/418125698486632448/556912816930684932/unknown.png
I did a test where instead of srg names in the dependency
accesstransformer.cfg
file, I used mapped names instead. Tossed the new test jar into my workspace and had no issues whatsoever.The text was updated successfully, but these errors were encountered: