aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartimavocado <39881008+martimavocado@users.noreply.github.com>2024-04-28 21:55:38 +0100
committerGitHub <noreply@github.com>2024-04-29 06:55:38 +1000
commit39d721fe2fdb381c3d4b6334e2e8efc0b5d82685 (patch)
treeb07ca9b3e833eb5d7e9e4417c0d4f631bb73e1d5
parentec2b051767df64e93a8430c857790b1ed951830e (diff)
downloadskyhanni-39d721fe2fdb381c3d4b6334e2e8efc0b5d82685.tar.gz
skyhanni-39d721fe2fdb381c3d4b6334e2e8efc0b5d82685.tar.bz2
skyhanni-39d721fe2fdb381c3d4b6334e2e8efc0b5d82685.zip
Fix: Typo in barn warning (#1584)
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryBarnManager.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryBarnManager.kt b/src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryBarnManager.kt
index 43c276293..eeb44b630 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryBarnManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/chocolatefactory/ChocolateFactoryBarnManager.kt
@@ -70,7 +70,8 @@ object ChocolateFactoryBarnManager {
}
ChatUtils.clickableChat(
- "§cYour barn is almost full! §7(${barnStatus()}). §cUpgrade it so they don't get crushed",
+ message = if (profileStorage.currentRabbits == profileStorage.maxRabbits) { "§cYour barn is full! §7(${barnStatus()}). §cUpgrade it so they don't get crushed" }
+ else { "§cYour barn is almost full! §7(${barnStatus()}). §cUpgrade it so they don't get crushed"},
onClick = {
HypixelCommands.chocolateFactory()
}