From 6f44a62fa9fde32e3ecdefa459a64822ba00a43d Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Wed, 5 Oct 2022 00:13:04 +1100 Subject: Changed the pet overlay to use spaces instead of "-" (#326) --- .../github/moulberry/notenoughupdates/overlays/EquipmentOverlay.java | 1 - .../java/io/github/moulberry/notenoughupdates/util/ItemUtils.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/overlays/EquipmentOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/overlays/EquipmentOverlay.java index e6e8cb3b..5cd8f6b3 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/overlays/EquipmentOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/overlays/EquipmentOverlay.java @@ -140,7 +140,6 @@ public class EquipmentOverlay { public static final int PET_OVERLAY_OFFSET_Y = ARMOR_OVERLAY_HEIGHT - 14 /* overlaying pixels */; // - public boolean isRenderingPet; public boolean shouldRenderPets; public boolean shouldRenderArmorHud; diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java index c6bc7538..8b81d1b4 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java @@ -369,9 +369,9 @@ public class ItemUtils { if (j < (levelPercent / 5)) { sb.append(EnumChatFormatting.DARK_GREEN); } else { - sb.append(EnumChatFormatting.GRAY); + sb.append(EnumChatFormatting.WHITE); } - sb.append("-"); + sb.append(EnumChatFormatting.BOLD + "" + EnumChatFormatting.STRIKETHROUGH + " "); } newLore.appendTag(new NBTTagString(sb.toString())); newLore.appendTag(new NBTTagString( -- cgit