mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 15:29:17 +00:00
Add property to injectors to specify max allowed injections, closes #195
This commit is contained in:
1 parent
55777fcf42
commit
f08fc3bb2a
11 files changed
+179
-21
No files matched your search
@@ -24,8 +24,6 @@
|
||||
*/
|
||||
package org.spongepowered.asm.util;
|
||||
|
||||
import static org.spongepowered.asm.lib.ClassWriter.*;
|
||||
|
||||
import java.io.OutputStream;
|
||||
import java.io.PrintWriter;
|
||||
import java.lang.annotation.Annotation;
|
||||
@@ -319,7 +317,7 @@ public final class Bytecode {
|
||||
* @param classNode the classNode to verify
|
||||
*/
|
||||
public static void dumpClass(ClassNode classNode) {
|
||||
ClassWriter cw = new ClassWriter(COMPUTE_MAXS | COMPUTE_FRAMES);
|
||||
ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS | ClassWriter.COMPUTE_FRAMES);
|
||||
classNode.accept(cw);
|
||||
Bytecode.dumpClass(cw.toByteArray());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user