diff options
author | alemi <me@alemi.dev> | 2023-03-12 00:15:54 +0100 |
---|---|---|
committer | alemi <me@alemi.dev> | 2023-03-12 00:15:54 +0100 |
commit | ccb2f2eae8804f2f23f9b8f6513c9c73618461ea (patch) | |
tree | a167c25fcdc11a2166896da236ed631afa313261 /src/main/java/ftbsc | |
parent | d68a0727fb146de6c09811df86876365a6da6abd (diff) |
fix: moved hook out of subclass
Diffstat (limited to 'src/main/java/ftbsc')
-rw-r--r-- | src/main/java/ftbsc/bscv/patches/BackgroundPatch.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java b/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java index dae50ed..992a4ea 100644 --- a/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java +++ b/src/main/java/ftbsc/bscv/patches/BackgroundPatch.java @@ -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" )); |