diff --git a/gradle.properties b/gradle.properties index 300b734..604ac02 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_mappings=1.21+build.2 loader_version=0.15.11 # Mod Properties -mod_version=1.4.4 +mod_version=1.4.5 maven_group=com.armorhud archives_base_name=simple-armor-hud diff --git a/src/client/java/com/armorhud/mixin/client/tooltipMixin.java b/src/client/java/com/armorhud/mixin/client/tooltipMixin.java index 161baab..56bf055 100644 --- a/src/client/java/com/armorhud/mixin/client/tooltipMixin.java +++ b/src/client/java/com/armorhud/mixin/client/tooltipMixin.java @@ -12,7 +12,7 @@ public abstract class tooltipMixin { @ModifyVariable(method = "renderHeldItemTooltip", at = @At("STORE"), ordinal = 2) public int renderHeldItemTooltip(int k, DrawContext context) { - return context.getScaledWindowWidth() - 62; + return context.getScaledWindowHeight() - 62; } }