aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Storage.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
index f32c66220..2b9755926 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
@@ -235,7 +235,7 @@ public class Storage {
public long lastComposterEmptyWarningTime = 0;
@Expose
- public FarmingWeightConfig faramingWeight = new FarmingWeightConfig();
+ public FarmingWeightConfig farmingWeight = new FarmingWeightConfig();
public static class FarmingWeightConfig {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
index 053fae0ca..71b69107b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt
@@ -209,7 +209,7 @@ class FarmingWeightDisplay {
} else {
leaderboardPosition--
}
- ProfileStorageData.profileSpecific?.garden?.faramingWeight?.lastFarmingWeightLeaderboard =
+ ProfileStorageData.profileSpecific?.garden?.farmingWeight?.lastFarmingWeightLeaderboard =
leaderboardPosition
// Remove passed player to present the next one
@@ -283,7 +283,7 @@ class FarmingWeightDisplay {
if (wasNotLoaded && config.eliteFarmingWeightoffScreenDropMessage) {
checkOffScreenLeaderboardChanges()
}
- ProfileStorageData.profileSpecific?.garden?.faramingWeight?.lastFarmingWeightLeaderboard =
+ ProfileStorageData.profileSpecific?.garden?.farmingWeight?.lastFarmingWeightLeaderboard =
leaderboardPosition
lastLeaderboardUpdate = System.currentTimeMillis()
isLoadingLeaderboard = false
@@ -292,7 +292,7 @@ class FarmingWeightDisplay {
private fun checkOffScreenLeaderboardChanges() {
val profileSpecific = ProfileStorageData.profileSpecific ?: return
- val oldPosition = profileSpecific.garden.faramingWeight.lastFarmingWeightLeaderboard
+ val oldPosition = profileSpecific.garden.farmingWeight.lastFarmingWeightLeaderboard
if (oldPosition == -1) return
val diff = leaderboardPosition - oldPosition