aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
index e90e550b9..fa2b9b824 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/FishingTimer.kt
@@ -17,6 +17,7 @@ import at.hannibal2.skyhanni.utils.TimeUnit
import at.hannibal2.skyhanni.utils.TimeUtils
import net.minecraft.entity.item.EntityArmorStand
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
+import kotlin.time.Duration.Companion.seconds
class FishingTimer {
private val config get() = SkyHanniMod.feature.fishing.barnTimer
@@ -67,6 +68,7 @@ class FishingTimer {
if (inHollows && newCount >= 60 && config.wormLimitAlert) {
SoundUtils.playBeepSound()
+ LorenzUtils.sendTitle("§cWORM CAP FULL!!!", 2.seconds)
}
}
@@ -124,4 +126,4 @@ class FishingTimer {
event.move(3, "fishing.manualResetTimer", "fishing.barnTimer.manualResetTimer")
event.move(3, "fishing.barnTimerPos", "fishing.barnTimer.pos")
}
-} \ No newline at end of file
+}