Upd modules + node transformer fix.

This commit is contained in:
zaxar163 2019-01-02 17:29:27 +04:00
parent fe9551636e
commit 80c8d27a5e
No known key found for this signature in database
GPG key ID: CEE900027AE098E0
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ public byte[] transform(byte[] input, String classname, JARLauncherBinary data)
ClassNode cn = new ClassNode();
cr.accept(cn, ClassReader.SKIP_DEBUG);
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);
return cw.toByteArray();
}

@ -1 +1 @@
Subproject commit 2a09f7b18dde4ea6841e6a141e7cfea8f93d3b29
Subproject commit 1f5199e4dc6a582d49eea40bc080bb5c529817d6