mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-13 17:04:25 +00:00
Fix ASMMixinCompiler with obfuscated classes.
This commit is contained in:
1 parent
20856d0908
commit
07fe4b2856
1 file changed
+1
-1
@@ -92,7 +92,7 @@ object ASMMixinCompiler
|
||||
def useTransformers = f_transformerExceptions.get(cl).asInstanceOf[JSet[String]]
|
||||
.find(jName.startsWith(_)).isEmpty
|
||||
|
||||
val obfName = FMLDeobfuscatingRemapper.INSTANCE.unmap(jName)
|
||||
val obfName = FMLDeobfuscatingRemapper.INSTANCE.unmap(name).replace('/', '.')
|
||||
val bytes = cl.getClassBytes(obfName)
|
||||
if(bytes != null && useTransformers)
|
||||
return m_runTransformers.invoke(cl, jName, obfName, bytes).asInstanceOf[Array[Byte]]
|
||||
|
||||
Reference in new issue
Block a user