RenderGlobal

This commit is contained in:
FalsePattern committed 2022-03-17 16:20:08 +01:00
1 parent 7329cad2b9
commit 2159692908
4 files changed
+28 -23

No files matched your search

@@ -1,21 +0,0 @@
package com.falsepattern.endlessids.asm.transformer;
import org.objectweb.asm.tree.MethodNode;
import com.falsepattern.endlessids.asm.AsmUtil;
import com.falsepattern.endlessids.asm.Name;
import org.objectweb.asm.tree.ClassNode;
import com.falsepattern.endlessids.asm.IClassNodeTransformer;
public class VanillaRenderGlobal implements IClassNodeTransformer
{
public VanillaRenderGlobal() {
super();
}
@Override
public void transform(final ClassNode cn, final boolean obfuscated) {
final MethodNode method = AsmUtil.findMethod(cn, Name.renderGlobal_playAuxSFX);
AsmUtil.transformInlinedSizeMethod(cn, method, 4095, 65535);
AsmUtil.transformInlinedSizeMethod(cn, method, 12, 16);
}
}