mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-03 23:11:57 +03:00
ASMFix P2 или как asm 7 тупит.
This commit is contained in:
parent
0e0046f813
commit
4b9cc49c6d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public byte[] transform(byte[] input, String classname, JARLauncherBinary data)
|
||||||
ClassNode cn = new ClassNode();
|
ClassNode cn = new ClassNode();
|
||||||
cr.accept(cn, ClassReader.SKIP_DEBUG);
|
cr.accept(cn, ClassReader.SKIP_DEBUG);
|
||||||
for (ClassNodeTransformer tr : transLst) tr.transform(cn, classname, data);
|
for (ClassNodeTransformer tr : transLst) tr.transform(cn, classname, data);
|
||||||
ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_FRAMES);
|
ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_MAXS);
|
||||||
cn.accept(cw);
|
cn.accept(cw);
|
||||||
return cw.toByteArray();
|
return cw.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue