diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-03-07 01:20:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 01:20:43 +0100 |
commit | 84589e27e919acd6f8972bb053e209b175950cfc (patch) | |
tree | 33e168a478c85ff5170e67c88594ada2538370aa /src/main/java/at/hannibal2/skyhanni/utils/tracker | |
parent | 0dd5963b30522610991bc1f75b188d7c4f8266d5 (diff) | |
download | skyhanni-84589e27e919acd6f8972bb053e209b175950cfc.tar.gz skyhanni-84589e27e919acd6f8972bb053e209b175950cfc.tar.bz2 skyhanni-84589e27e919acd6f8972bb053e209b175950cfc.zip |
Interlal Change: Code cleanup (#1113)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/tracker')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt index 535298543..e8045d70a 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt @@ -148,12 +148,8 @@ class SkyHanniItemTracker<Data : ItemTrackerData>( lists.addAsSingletonList(renderable) } if (hiddenItemTexts.size > 0) { - lists.addAsSingletonList( - Renderable.hoverTips( - " §7${hiddenItemTexts.size} cheap items are hidden.", - hiddenItemTexts - ) - ) + val text = Renderable.hoverTips(" §7${hiddenItemTexts.size} cheap items are hidden.", hiddenItemTexts) + lists.addAsSingletonList(text) } return profit |