diff --git a/src/main/java/me/dustin/jex/load/mixin/minecraft/MixinInGameHud.java b/src/main/java/me/dustin/jex/load/mixin/minecraft/MixinInGameHud.java index b1cb20eb6..aab5909f8 100644 --- a/src/main/java/me/dustin/jex/load/mixin/minecraft/MixinInGameHud.java +++ b/src/main/java/me/dustin/jex/load/mixin/minecraft/MixinInGameHud.java @@ -23,7 +23,7 @@ public class MixinInGameHud { @Shadow @Final private static Identifier POWDER_SNOW_OUTLINE; - @Inject(method = "render", at = @At(value = "INVOKE", target = "net/minecraft/scoreboard/Scoreboard.getObjectiveForSlot(I)Lnet/minecraft/scoreboard/ScoreboardObjective;")) + @Inject(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/option/KeyBinding;isPressed()Z")) public void draw(MatrixStack matrixStack, float float_1, CallbackInfo ci) { try { new EventRender2D(matrixStack).run();