aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-15 17:59:04 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-15 17:59:04 +0100
commitfdc5ec27efd3387b98478c36cebb4d46a6c293fd (patch)
treee98798334b4127269ebdff3b93cefffd90392b1c /src
parente19042709261ba3d8129bb7d627776b4ba945a36 (diff)
downloadskyhanni-fdc5ec27efd3387b98478c36cebb4d46a6c293fd.tar.gz
skyhanni-fdc5ec27efd3387b98478c36cebb4d46a6c293fd.tar.bz2
skyhanni-fdc5ec27efd3387b98478c36cebb4d46a6c293fd.zip
renamed feature
Diffstat (limited to 'src')
-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