From a7e7c5eec1b90deb8a5c6d0166ccdd2e157f18b9 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Sat, 4 May 2024 23:22:00 +1000 Subject: Fix: Raw per second being wrong sometimes (#1683) --- .../features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt index 22f3a7355..2f8e4dfd4 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt @@ -143,7 +143,7 @@ object ChocolateFactoryDataLoader { processTimeTowerItem(timeTowerItem) profileStorage.rawChocPerSecond = - (ChocolateFactoryAPI.chocolatePerSecond / profileStorage.chocolateMultiplier).toInt() + (ChocolateFactoryAPI.chocolatePerSecond / profileStorage.chocolateMultiplier + .01).toInt() profileStorage.lastDataSave = SimpleTimeMark.now().toMillis() ChocolateFactoryStats.updateDisplay() -- cgit