Skip to content

Commit

Permalink
fix: unlimited cooldown
Browse files Browse the repository at this point in the history
  • Loading branch information
SantioMC committed Dec 14, 2024
1 parent 4ef14ed commit 96f5e0c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/kotlin/me/santio/minehututils/tags/TagListener.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ object TagListener: ListenerAdapter() {
}

recentlySent.add(id)
tag.send(event.message)

try {
tag.send(event.message)
} catch (e: Exception) {
e.printStackTrace()
return
}

coroutineScope.launch(exceptionHandler) {
TagManager.addUse(tag)
Expand Down

0 comments on commit 96f5e0c

Please sign in to comment.