aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-05-04 23:22:00 +1000
committerGitHub <noreply@github.com>2024-05-04 15:22:00 +0200
commita7e7c5eec1b90deb8a5c6d0166ccdd2e157f18b9 (patch)
tree6752e6fca28a3f2a81fb9e65f9e6a405518d114e /src
parentdac755b4aef65b5433d8979b6a39b97b8a438e21 (diff)
downloadskyhanni-a7e7c5eec1b90deb8a5c6d0166ccdd2e157f18b9.tar.gz
skyhanni-a7e7c5eec1b90deb8a5c6d0166ccdd2e157f18b9.tar.bz2
skyhanni-a7e7c5eec1b90deb8a5c6d0166ccdd2e157f18b9.zip
Fix: Raw per second being wrong sometimes (#1683)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryDataLoader.kt2
1 files changed, 1 insertions, 1 deletions
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()