fix: moved hook out of subclass
This commit is contained in:
parent
d68a0727fb
commit
ccb2f2eae8
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ import ftbsc.lll.processor.annotations.Patch;
|
|||
import ftbsc.lll.processor.annotations.Target;
|
||||
import ftbsc.lll.tools.InsnSequence;
|
||||
import ftbsc.lll.tools.PatternMatcher;
|
||||
import ftbsc.lll.tools.debug.BytecodePrinter;
|
||||
import net.minecraft.client.gui.screen.Screen;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.eventbus.api.Cancelable;
|
||||
|
@ -54,7 +53,7 @@ public class BackgroundPatch implements ICommons {
|
|||
is.add(new VarInsnNode(ALOAD, 0));
|
||||
is.add(new MethodInsnNode(
|
||||
INVOKESTATIC,
|
||||
"ftbsc/bscv/patches/BackgroundPatch$BackgroundHook",
|
||||
"ftbsc/bscv/patches/BackgroundPatch",
|
||||
"shouldDrawBackground",
|
||||
"(Lnet/minecraft/client/gui/screen/Screen;)Z"
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue