aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-10-05 00:13:04 +1100
committerGitHub <noreply@github.com>2022-10-04 15:13:04 +0200
commit6f44a62fa9fde32e3ecdefa459a64822ba00a43d (patch)
tree12b0a886493ce609e797c0696507be7263dd6b03
parentf96aa66096b87744d4d400a63c7a6c1a813cde22 (diff)
downloadNotEnoughUpdates-6f44a62fa9fde32e3ecdefa459a64822ba00a43d.tar.gz
NotEnoughUpdates-6f44a62fa9fde32e3ecdefa459a64822ba00a43d.tar.bz2
NotEnoughUpdates-6f44a62fa9fde32e3ecdefa459a64822ba00a43d.zip
Changed the pet overlay to use spaces instead of "-" (#326)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/overlays/EquipmentOverlay.java1
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java4
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 */;
//</editor-fold>
- 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(