diff options
author | Obsidian <108832807+Obsidianninja11@users.noreply.github.com> | 2024-03-17 10:46:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 19:46:52 +0100 |
commit | 94ecd76cb22486627b75658e1925b5ced53ce6d3 (patch) | |
tree | 18f846cff3511c31215f9ba50085294f901a1212 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | bf462fa2aa335794b86df58ffcfa6dd8ea4f04f2 (diff) | |
download | skyhanni-94ecd76cb22486627b75658e1925b5ced53ce6d3.tar.gz skyhanni-94ecd76cb22486627b75658e1925b5ced53ce6d3.tar.bz2 skyhanni-94ecd76cb22486627b75658e1925b5ced53ce6d3.zip |
Removed Feature: Removed max pet xp tooltip (#1132)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/PetExpTooltip.kt | 6 |
1 files changed, 2 insertions, 4 deletions
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 "" |