From 3852e41d7e725d7aa23eb96c2c664746f09c0d0f Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 9 Aug 2023 01:15:47 +0200 Subject: Fixed king talisman helper showing wrong order. --- .../java/at/hannibal2/skyhanni/features/mining/KingTalismanHelper.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/KingTalismanHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/KingTalismanHelper.kt index 1d8f62d4f..b52fb85f0 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/KingTalismanHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/KingTalismanHelper.kt @@ -123,9 +123,9 @@ class KingTalismanHelper { val oneSbDay = 1000 * 60 * 20 val oneCircleTime = oneSbDay * kingCircles.size val kingTime = mutableMapOf() - for ((index, king) in kingCircles.reversed().withIndex()) { + for ((index, king) in kingCircles.withIndex()) { - val startTime = SkyBlockTime(day = index + 1) + val startTime = SkyBlockTime(day = index + 2 - kingCircles.size) var timeNext = startTime.toMillis() while (timeNext < System.currentTimeMillis()) { timeNext += oneCircleTime -- cgit