mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
Upd modules + node transformer fix.
This commit is contained in:
parent
2ee43370b2
commit
4538749192
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_MAXS);
|
ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_FRAMES);
|
||||||
cn.accept(cw);
|
cn.accept(cw);
|
||||||
return cw.toByteArray();
|
return cw.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue