diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java b/LaunchServer/src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java index 7df0dcdf..917412e7 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java @@ -129,14 +129,14 @@ private AntiDecomp() { public static byte[] antiDecomp(final byte[] input, ClassMetadataReader reader) { ClassReader cr = new ClassReader(input); ClassWriter cw = new SafeClassWriter(reader, ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS); - cr.accept(new AObfClassVisitor(cw), ClassReader.SKIP_DEBUG | ClassReader.EXPAND_FRAMES); + cr.accept(new AObfClassVisitor(cw), ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES); return cw.toByteArray(); } public static byte[] expAntiDecomp(byte[] input, ClassMetadataReader reader) { ClassReader cr = new ClassReader(input); ClassWriter cw = new SafeClassWriter(reader, ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS); - cr.accept(new ObfClassVisitor(cw), ClassReader.SKIP_DEBUG | ClassReader.EXPAND_FRAMES); + cr.accept(new ObfClassVisitor(cw), ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES); return cw.toByteArray(); } }