aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/garden
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-20 01:12:46 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-20 01:12:46 +0100
commit3f18945698cb4a67a07bc053046ee3d7f00b7b5e (patch)
tree571cc5e8fb3641e822de55fe71646cc4632941e0 /src/main/java/at/hannibal2/skyhanni/features/garden
parent8964cf9bd7647fd9216ce0c3e5af229dabfa5fb5 (diff)
downloadskyhanni-3f18945698cb4a67a07bc053046ee3d7f00b7b5e.tar.gz
skyhanni-3f18945698cb4a67a07bc053046ee3d7f00b7b5e.tar.bz2
skyhanni-3f18945698cb4a67a07bc053046ee3d7f00b7b5e.zip
formatting changes
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt14
1 files changed, 7 insertions, 7 deletions
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 1070319c9..233aa46ea 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
@@ -385,17 +385,17 @@ class FarmingWeightDisplay {
if (diff == 0) return
if (diff > 0) {
- chatOffScreenChange("§cdropped ${StringUtils.optionalPlural(diff, "place", "places")}", oldPosition)
+ showLbChange("§cdropped ${StringUtils.optionalPlural(diff, "place", "places")}", oldPosition)
} else {
- chatOffScreenChange("§arisen ${StringUtils.optionalPlural(-diff, "place", "places")}", oldPosition)
+ showLbChange("§arisen ${StringUtils.optionalPlural(-diff, "place", "places")}", oldPosition)
}
}
- private fun chatOffScreenChange(direction: String, oldPosition: Int) {
+ private fun showLbChange(direction: String, oldPosition: Int) {
farmingChatMessage(
"§7Since your last visit to the §aGarden§7, " +
- "you have $direction §7on the §dFarming Leaderboard§7. " +
- "§7(§e#${oldPosition.addSeparators()} §7-> §e#${leaderboardPosition.addSeparators()}§7)"
+ "you have $direction §7on the §dFarming Leaderboard§7. " +
+ "§7(§e#${oldPosition.addSeparators()} §7-> §e#${leaderboardPosition.addSeparators()}§7)"
)
}
@@ -472,8 +472,8 @@ class FarmingWeightDisplay {
apiError = true
LorenzUtils.error(
"Loading the farming weight data from elitebot.dev failed!\n"
- + "§eYou can re-enter the garden to try to fix the problem.\n" +
- "§cIf this message repeats, please report it on Discord!",
+ + "§eYou can re-enter the garden to try to fix the problem.\n" +
+ "§cIf this message repeats, please report it on Discord!",
)
}