From f7f86c32c9d9731d040b49f7693ece00ea7bdada Mon Sep 17 00:00:00 2001 From: Phoebe <77941535+catgirlseraid@users.noreply.github.com> Date: Sat, 18 May 2024 12:24:07 +1200 Subject: Fixed time until next charge being wrong (#1806) Co-authored-by: SeRaid <77941535+SeRaid743@users.noreply.github.com> --- .../inventory/chocolatefactory/ChocolateFactoryStats.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt index 5e5be011e..f067146bf 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt @@ -95,8 +95,14 @@ object ChocolateFactoryStats { put(ChocolateFactoryStat.TIME_TOWER, "§eTime Tower: §6$timeTowerInfo") put( ChocolateFactoryStat.TIME_TOWER_FULL, - "§eFull Tower Charges: §b${timeTowerFull.timeUntil().format()}\n" + - "§bHappens at: ${timeTowerFull.formattedDate("EEEE, MMM d h:mm a")}" + if (ChocolateFactoryTimeTowerManager.timeTowerFull()) { + "§eFull Tower Charges: §a§lNow\n" + + "§eHappens at: §a§lNow" + } else { + "§eFull Tower Charges: §b${timeTowerFull.timeUntil().format()}\n" + + "§eHappens at: §b${timeTowerFull.formattedDate("EEEE, MMM d h:mm a")}" + } + ) put(ChocolateFactoryStat.TIME_TO_PRESTIGE, "§eTime To Prestige: $prestigeEstimate") put( -- cgit