diff options
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/BarnFishingTimer.kt | 6 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt | 4 |
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)) } |