diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt index 6d1913112..afc1164e7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt @@ -171,10 +171,10 @@ class JacobContestTimeNeeded { }) } - private fun addBpsTitle() = if (config.jacobContestAssumeFixBps) "Fix Blocks/Second: " else "Your Blocks/Second: " + private fun addBpsTitle() = if (config.jacobContestCustomBps) "Fix Blocks/Second: " else "Your Blocks/Second: " - private fun CropType.getBps() = if (config.jacobContestAssumeFixBps) { - config.jacobContestAssumeFixBpsValue + private fun CropType.getBps() = if (config.jacobContestCustomBps) { + config.jacobContestCustomBpsValue } else getLatestBlocksPerSecond() @SubscribeEvent |