aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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