From b74f2734c2cce483e4bdeb4347c04028f7ee31d0 Mon Sep 17 00:00:00 2001 From: LucunJi <36262513+LucunJi@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:16:55 -0400 Subject: [PATCH] I'll add this feature later lmao --- .../eprHideOnDebugHud/PlayerHUDRenderer_v2Mixin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/fallenbreath/tweakermore/mixins/tweaks/mod_tweaks/eprHideOnDebugHud/PlayerHUDRenderer_v2Mixin.java b/src/main/java/me/fallenbreath/tweakermore/mixins/tweaks/mod_tweaks/eprHideOnDebugHud/PlayerHUDRenderer_v2Mixin.java index b71a0902..fe3801ac 100644 --- a/src/main/java/me/fallenbreath/tweakermore/mixins/tweaks/mod_tweaks/eprHideOnDebugHud/PlayerHUDRenderer_v2Mixin.java +++ b/src/main/java/me/fallenbreath/tweakermore/mixins/tweaks/mod_tweaks/eprHideOnDebugHud/PlayerHUDRenderer_v2Mixin.java @@ -31,12 +31,12 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @SuppressWarnings("UnresolvedMixinReference") -@Restriction(require = @Condition(value = ModIds.extra_player_renderer, versionPredicates = ">=2.0.0")) +@Restriction(require = @Condition(value = ModIds.extra_player_renderer, versionPredicates = "^2.0.0")) @Pseudo @Mixin(targets = "github.io.lucunji.explayerenderer.client.render.PlayerHUDRenderer") public abstract class PlayerHUDRenderer_v2Mixin { - @Inject(method = "doRender", at = @At("HEAD"), remap = false, cancellable = true) + @Inject(method = "doRender", at = @At("HEAD"), remap = false, cancellable = true, require = 0) private void eprHideOnDebugHud(CallbackInfo ci) { EprHideOnDebugHudImpl.applyHide(ci);