diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt index fe2553c7f..26153e5c9 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/tracker/SkyHanniTracker.kt @@ -68,6 +68,7 @@ class SkyHanniTracker<Data : TrackerData>( } private fun buildFinalDisplay(rawList: List<List<Any>>) = rawList.toMutableList().also { + if (it.isEmpty()) return@also if (inventoryOpen) { it.add(1, buildDisplayModeView()) } |