diff --git a/visuals/src/main/java/com/viaversion/viafabricplus/visuals/injection/mixin/hud_element_changes/MixinInGameHud.java b/visuals/src/main/java/com/viaversion/viafabricplus/visuals/injection/mixin/hud_element_changes/MixinInGameHud.java index 509fee0b..36634327 100644 --- a/visuals/src/main/java/com/viaversion/viafabricplus/visuals/injection/mixin/hud_element_changes/MixinInGameHud.java +++ b/visuals/src/main/java/com/viaversion/viafabricplus/visuals/injection/mixin/hud_element_changes/MixinInGameHud.java @@ -108,8 +108,8 @@ private static void moveArmorPositions(Args args, @Local(ordinal = 3, argsOnly = final int armorWidth = 10 * viaFabricPlusVisuals$ARMOR_ICON_WIDTH; final int offset = n * viaFabricPlusVisuals$ARMOR_ICON_WIDTH; - args.set(1, client.getWindow().getScaledWidth() - x - armorWidth + offset - 1); - args.set(2, (int) args.get(2) + client.textRenderer.fontHeight + 1); + args.set(2, client.getWindow().getScaledWidth() - x - armorWidth + offset - 1); + args.set(3, (int) args.get(3) + client.textRenderer.fontHeight + 1); } @ModifyArg(method = "renderAirBubbles", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/DrawContext;drawGuiTexture(Ljava/util/function/Function;Lnet/minecraft/util/Identifier;IIII)V"),