From 453874919250b7f2afba570b19bf3a5127c0fad1 Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Wed, 2 Jan 2019 17:29:27 +0400 Subject: [PATCH] Upd modules + node transformer fix. --- .../java/ru/gravit/launchserver/manangers/NodeTransformer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/manangers/NodeTransformer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/manangers/NodeTransformer.java index f90f0a1d..59dbd2b4 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/manangers/NodeTransformer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/manangers/NodeTransformer.java @@ -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(); }