aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-17 22:43:57 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-17 22:43:57 +0100
commit95f940741c40807452e866ee1a6ac7e74fb53b9f (patch)
tree37b1ee942bd8fa5ca95ccd631d1487a1111ac468 /src/main/java/at
parent335ead47ecd46692cb4de5268846835cb104b101 (diff)
downloadskyhanni-95f940741c40807452e866ee1a6ac7e74fb53b9f.tar.gz
skyhanni-95f940741c40807452e866ee1a6ac7e74fb53b9f.tar.bz2
skyhanni-95f940741c40807452e866ee1a6ac7e74fb53b9f.zip
Changed chat design.
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/BarnFishingTimer.kt6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/BarnFishingTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/BarnFishingTimer.kt
index a204f504f..c83e28ae8 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/BarnFishingTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/BarnFishingTimer.kt
@@ -100,11 +100,11 @@ class BarnFishingTimer {
if (currentCount == 0) return
val duration = System.currentTimeMillis() - startTime
-
val barnTimerAlertTime = SkyHanniMod.feature.fishing.barnTimerAlertTime * 1_000
val color = if (duration > barnTimerAlertTime) "§c" else "§e"
- val format = StringUtils.formatDuration(duration / 1000, decimalFormat = true)
- val text = "$color$format §8(§e$currentCount §bsea creatures§8)"
+ val timeFormat = StringUtils.formatDuration(duration / 1000, decimalFormat = true)
+ val name = if (currentCount == 1) "sea creature" else "sea creatures"
+ val text = "$color$timeFormat §8(§e$currentCount §b$name§8)"
SkyHanniMod.feature.fishing.barnTimerPos.renderString(text)
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt
index 734b97daa..b959c3776 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt
@@ -51,9 +51,9 @@ class DailyMiniBossHelper(private val reputationHelper: CrimsonIsleReputationHel
val done = miniBosses.count { it.doneToday }
// val sneaking = Minecraft.getMinecraft().thePlayer.isSneaking
// if (done != 5 || sneaking) {
+ display.add("")
+ display.add("Daily Bosses ($done/5 killed)")
if (done != 5) {
- display.add("")
- display.add("Daily Bosses ($done/5 killed)")
for (miniBoss in miniBosses) {
display.add(" " + renderBoss(miniBoss))
}