aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
index 0b79cf888..9db8553aa 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
@@ -274,7 +274,7 @@ class PowderTracker {
addAsSingletonList("§b$mithrilCount ${reward.displayName} §7($mithrilPerHour/h)")
}
- private fun format(e: Double): String? = if (e < 0) "0" else e.toInt().addSeparators()
+ private fun format(e: Double): String = if (e < 0) "0" else e.toInt().addSeparators()
private fun calculateResourceHour(resourceInfo: ResourceInfo) {
val difference = resourceInfo.estimated - resourceInfo.lastEstimated