From 0ab37c4d1b9d1fcfacb5f32070efbc9cda5a2070 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Thu, 9 Nov 2023 22:38:17 -0700 Subject: [PATCH] fix typo --- .../xyz/jpenilla/announcerplus/config/message/MessageConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/xyz/jpenilla/announcerplus/config/message/MessageConfig.kt b/src/main/kotlin/xyz/jpenilla/announcerplus/config/message/MessageConfig.kt index d583d57..a886397 100644 --- a/src/main/kotlin/xyz/jpenilla/announcerplus/config/message/MessageConfig.kt +++ b/src/main/kotlin/xyz/jpenilla/announcerplus/config/message/MessageConfig.kt @@ -338,7 +338,7 @@ class MessageConfig : SelfSavable, KoinComponent { private val regex = Regex("^([0-9]+)( |)([a-zA-Z]+)$") private val map = mapOf( setOf("s", "second", "seconds", "sec", "secs") to TimeUnit.SECONDS, - setOf("m", "minute", "minutes", "min", "min") to TimeUnit.MINUTES, + setOf("m", "minute", "minutes", "min", "mins") to TimeUnit.MINUTES, setOf("h", "hour", "hours", "hr", "hrs") to TimeUnit.HOURS, )