mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-19 14:33:04 +03:00
Update JAConfigurator.java
This commit is contained in:
parent
3599f16ae3
commit
ba26936846
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ public void addModuleClass(String fullName) {
|
|||
}
|
||||
|
||||
public byte[] getBytecode(ClassMetadataReader reader) {
|
||||
constructor.instructions.add(new InsnNode(Opcodes.RETURN));
|
||||
initModuleMethod.instructions.add(new InsnNode(Opcodes.RETURN));
|
||||
ClassWriter cw = new SafeClassWriter(reader, ClassWriter.COMPUTE_FRAMES);
|
||||
configclass.accept(cw);
|
||||
return cw.toByteArray();
|
||||
|
|
Loading…
Reference in a new issue