mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
SKIP_FRAMES зачем то пихнул, это как пихнуть SKIP_CODE.
This commit is contained in:
parent
2f56328780
commit
2a9e1258b5
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public NodeTransformer() {
|
||||||
public byte[] transform(byte[] input, String classname, JARLauncherBinary data) {
|
public byte[] transform(byte[] input, String classname, JARLauncherBinary data) {
|
||||||
ClassReader cr = new ClassReader(input);
|
ClassReader cr = new ClassReader(input);
|
||||||
ClassNode cn = new ClassNode();
|
ClassNode cn = new ClassNode();
|
||||||
cr.accept(cn, ClassReader.SKIP_FRAMES | 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_MAXS);
|
ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_MAXS);
|
||||||
cn.accept(cw);
|
cn.accept(cw);
|
||||||
|
|
Loading…
Reference in a new issue