aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-02 18:00:44 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-02 18:00:44 +0200
commitcc3ea04a7534b187673a05151f1f102ff869ce4c (patch)
treebf55f36997e75fd9038f8d70aae772e01ee44504 /src/main/java
parent140219f75b361fce1d9dec265f78b70202d06d3b (diff)
downloadskyhanni-cc3ea04a7534b187673a05151f1f102ff869ce4c.tar.gz
skyhanni-cc3ea04a7534b187673a05151f1f102ff869ce4c.tar.bz2
skyhanni-cc3ea04a7534b187673a05151f1f102ff869ce4c.zip
fixed typo in broodmother message
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/combat/BroodmotherFeatures.kt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/combat/BroodmotherFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/combat/BroodmotherFeatures.kt
index 4020e26d3..d122ba342 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/combat/BroodmotherFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/combat/BroodmotherFeatures.kt
@@ -97,11 +97,9 @@ object BroodmotherFeatures {
// this is so that two messages aren't immediately sent upon joining a server
if (!(currentStage == StageEntry.ALIVE && isAliveMessageEnabled())) {
val duration = currentStage?.duration
- val minutes = duration?.inWholeMinutes?.toInt() ?: 0
- val pluralize = StringUtils.pluralize(minutes, "minute")
var message = "The Broodmother's current stage in this server is ${currentStage.toString().replace("!", "")}§e."
if (duration != 0.minutes) {
- message += " It will spawn §bwithin $duration $pluralize§e."
+ message += " It will spawn §bwithin $duration§e."
}
ChatUtils.chat(message)
return true