diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt | 4 |
1 files changed, 3 insertions, 1 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 b20515cd4..f5510b13d 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniItemTracker.kt @@ -112,7 +112,9 @@ class SkyHanniItemTracker<Data : ItemTrackerData>( if (isInventoryOpen() || !hidden) { items[renderable] = price } - profit += price + if (!hidden || !config.excludeHiddenItemsInPrice) { + profit += price + } } for (text in items.sortedDesc().keys) { |