Skip to content

Commit d9ff350

Browse files
committed
Resolved #1. Removed redundant checking on null.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 90ad9d1 commit d9ff350

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/chat/ChatCooldown.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ object ChatCooldown {
1515
}
1616

1717
fun removeCooldown(nickname: String) {
18-
if (cooldownMap[nickname] == null) return
1918
cooldownMap.remove(nickname)
2019
}
2120

0 commit comments

Comments
 (0)