mirror of
https://github.com/GTMEGA/EndlessIDs.git
synced 2026-11-28 14:46:06 +00:00
ModInfoGenerator back to ASM
This commit is contained in:
5 files changed
+7
-34
No files matched your search
+3
@@ -9,6 +9,9 @@ import org.objectweb.asm.tree.InsnNode;
|
||||
public class SpaceCoreModInfoGenerator implements IClassNodeTransformer {
|
||||
@Override
|
||||
public void transform(final ClassNode cn, final boolean obfuscated) {
|
||||
if (obfuscated) {
|
||||
return;
|
||||
}
|
||||
for (val method: cn.methods) {
|
||||
if (method.name.equals("generate")) {
|
||||
val iterator = method.instructions.iterator();
|
||||
|
||||
Reference in new issue
Block a user