aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventDisplay.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventDisplay.kt
index 4e1fbcef5..dcb244009 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/eventtracker/MiningEventDisplay.kt
@@ -70,7 +70,8 @@ object MiningEventDisplay {
fun updateData(eventData: MiningEventData) {
eventData.runningEvents.forEach { (islandType, events) ->
- val sorted = events.sortedBy { it.endsAt - it.event.defaultLength.inWholeMilliseconds }
+ val sorted = events.filter { islandType == IslandType.DWARVEN_MINES || !it.event.dwarvenSpecific }
+ .sortedBy { it.endsAt - it.event.defaultLength.inWholeMilliseconds }
val oldData = islandEventData[islandType]
if (oldData == null) {