aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-23 00:11:03 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-23 00:11:03 +0200
commit46968a541e2231caadd9a9fc471277054bd012cd (patch)
tree606c191beb94077cc2a6b662bad8619f745b9978 /src/main/java/at/hannibal2/skyhanni
parent86fe9ce47707cc59f25b78082aff7962d107d95a (diff)
downloadskyhanni-46968a541e2231caadd9a9fc471277054bd012cd.tar.gz
skyhanni-46968a541e2231caadd9a9fc471277054bd012cd.tar.bz2
skyhanni-46968a541e2231caadd9a9fc471277054bd012cd.zip
Fixed rare error with estimated wardrobe price
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt
index 3b6470660..b31a7f574 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedWardrobePrice.kt
@@ -29,6 +29,7 @@ class EstimatedWardrobePrice {
var index = 3
val toolTip = event.toolTip
+ if (toolTip.size < 4) return
toolTip.add(index++, "")
toolTip.add(index++, "§aEstimated Armor Value:")