aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java10
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/contest/JacobContestTimeNeeded.kt6
2 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
index 6b563c5cc..3deaec46f 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/GardenConfig.java
@@ -1443,21 +1443,21 @@ public class GardenConfig {
@Expose
@ConfigOption(
- name = "Assume Fix BPS",
- desc = "Use a fixed Block Per Seconds value for the Contest Time Needed and Contest Summary Feature. When disabled, using the last tracked BPS value."
+ name = "Custom BPS",
+ desc = "Use custom Blocks per Second value in some GUIs instead of the real one."
)
@ConfigEditorBoolean
- public boolean jacobContestAssumeFixBps = true;
+ public boolean jacobContestCustomBps = true;
// TODO moulconfig runnable support
@Expose
- @ConfigOption(name = "Fix BPS Value", desc = "Set your fix Blocks per Second here.")
+ @ConfigOption(name = "Custom BPS Value", desc = "Set a custom Blocks per Second value.")
@ConfigEditorSlider(
minValue = 15,
maxValue = 20,
minStep = 0.1f
)
- public double jacobContestAssumeFixBpsValue = 19.9;
+ public double jacobContestCustomBpsValue = 19.9;
@Expose
// TODO rename to jacobContestTimesPos
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