From 94ecd76cb22486627b75658e1925b5ced53ce6d3 Mon Sep 17 00:00:00 2001 From: Obsidian <108832807+Obsidianninja11@users.noreply.github.com> Date: Sun, 17 Mar 2024 10:46:52 -0800 Subject: Removed Feature: Removed max pet xp tooltip (#1132) --- src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc') diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt index 29a149830..2b3505f18 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt @@ -45,10 +45,8 @@ class PetExpTooltip { val percentage = petExperience / maxXp val percentageFormat = LorenzUtils.formatPercentage(percentage) - event.toolTip.add(index, " ") - if (percentage >= 1) { - event.toolTip.add(index, "§7Total experience: §e${NumberUtil.format(petExperience)}") - } else { + if (percentage < 1) { + event.toolTip.add(index, " ") val progressBar = StringUtils.progressBar(percentage) val isBelowLegendary = itemStack.getItemRarityOrNull()?.let { it < LorenzRarity.LEGENDARY } ?: false val addLegendaryColor = if (isBelowLegendary) "§6" else "" -- cgit