Skip to content

Commit f974f35

Browse files
refactor: fix compile error
kotlinc W
1 parent d5bb1a0 commit f974f35

File tree

1 file changed

+2
-2
lines changed
  • mod/src/main/kotlin/gg/skytils/skytilsmod/features/impl/handlers

1 file changed

+2
-2
lines changed

mod/src/main/kotlin/gg/skytils/skytilsmod/features/impl/handlers/MayorInfo.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ import kotlin.time.toJavaDuration
5757
object MayorInfo : EventSubscriber {
5858

5959
val FIVE_MINUTES = object : TemporalUnit {
60-
val duration = Duration.ofMinutes(5)
61-
override fun getDuration(): Duration? = duration
60+
val _duration = Duration.ofMinutes(5)
61+
override fun getDuration(): Duration? = _duration
6262

6363
override fun isDurationEstimated(): Boolean = false
6464

0 commit comments

Comments
 (0)