From 0259a562054d3f3f77429a1d8c0b03c67baa51de Mon Sep 17 00:00:00 2001 From: igoby <49807567+igoby@users.noreply.github.com> Date: Sun, 25 Aug 2024 11:06:23 +0800 Subject: [PATCH] add more delay to fix spamming message in dungeon --- .../kotlin/gg/skytils/skytilsmod/listeners/DungeonListener.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/gg/skytils/skytilsmod/listeners/DungeonListener.kt b/src/main/kotlin/gg/skytils/skytilsmod/listeners/DungeonListener.kt index e7e55a3ad..b7906a550 100644 --- a/src/main/kotlin/gg/skytils/skytilsmod/listeners/DungeonListener.kt +++ b/src/main/kotlin/gg/skytils/skytilsmod/listeners/DungeonListener.kt @@ -292,7 +292,7 @@ object DungeonListener { } } tickTimer(2, repeats = true) { - if (Utils.inDungeons && mc.thePlayer != null && mc.thePlayer.ticksExisted >= 20 && (DungeonTimer.scoreShownAt == -1L || System.currentTimeMillis() - DungeonTimer.scoreShownAt < 1500)) { + if (Utils.inDungeons && mc.thePlayer != null && mc.thePlayer.ticksExisted >= 100 && (DungeonTimer.scoreShownAt == -1L || System.currentTimeMillis() - DungeonTimer.scoreShownAt < 1500)) { val tabEntries = TabListUtils.tabEntries var partyCount: Int? = null if (tabEntries.isNotEmpty() && tabEntries[0].second.contains("§r§b§lParty §r§f(")) {