···56565757 ArmorAccessor armorAccessor = armorHud.getArmorAccessor();
5858 int pieces = armorAccessor.getPieces(client.player);
5959+// System.out.println(pieces);
59606060- final int hungerWidth = 80 + 8; // Bar advances 8 pixels to the left 10 times, 8 is added for the width of the last sprite.
6161+ final int hungerWidth = 14; // Magic number to center 4 armor pieces
6162 final int armorWidth = 15;
6262- final int barWidth = armorWidth * pieces;
6363+6364// Added check for Above_Health_Bar -Dino
6465 float hungerX = scaledWidth / 2f + (config.ABOVE_HEALTH_BAR
6565- && client.player.getMaxHealth() + client.player.getMaxAbsorption() < 180 ? -10 : 91);
6666- float x = hungerX - hungerWidth / 2f + barWidth / 2f;
6666+ && client.player.getMaxHealth() + client.player.getMaxAbsorption() < 180 ? -10 : 91);
6767+ float x = hungerX + hungerWidth;
6768 x += 2; // This makes it look better because the helmet is thinner.
68696970 for (EquipmentSlot slot : EquipmentSlot.values()) {
7171+ x -= armorWidth;
7272+7073 if (slot.isArmorSlot()) {
7174 renderArmorPiece(context, x, armorHeight, tickCounter, client.player, armorAccessor.getArmorPiece(client.player, slot));
7275 }
···146149 armorHeight -= (client.player.isCreative() ? 26 : 10);
147150 }
148151 }
152152+149153// Armor hud only has to be moved up if better mount hud is enabled or player is in creative
150154 else {
151155 if (config.BETTER_MOUNT_HUD && !client.player.isCreative()) {