From 382f226797a2fae468c950a6941b74fd5d525404 Mon Sep 17 00:00:00 2001 From: SeRaid <77941535+SeRaid743@users.noreply.github.com> Date: Thu, 2 May 2024 23:17:03 +1200 Subject: warning when upgrade avaliavble (#1642) Co-authored-by: Cal Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt index 2aa542699..bf4a11686 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt @@ -166,6 +166,8 @@ object TimeUtils { val Long.ticks get() = (this * 50).milliseconds val Int.ticks get() = (this * 50).milliseconds + + val Float.minutes get() = toDouble().minutes } private const val FACTOR_SECONDS = 1000L -- cgit