diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-21 20:16:25 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-21 20:16:25 +0100 |
commit | 3bc18d545a395eb5a7d045d5163b51b2bc9a3278 (patch) | |
tree | 0c04a8e2ba855ef5a112bf05910b7131bc0484a1 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 779b62a4df0f90e03b670a2bf9c1c146e520aaf4 (diff) | |
download | skyhanni-3bc18d545a395eb5a7d045d5163b51b2bc9a3278.tar.gz skyhanni-3bc18d545a395eb5a7d045d5163b51b2bc9a3278.tar.bz2 skyhanni-3bc18d545a395eb5a7d045d5163b51b2bc9a3278.zip |
Fixed all Damage Indicator boss timers in Dungeons being off by a second.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt index 8371c9176..cd71efe65 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt @@ -42,8 +42,8 @@ import java.util.Queue import java.util.Timer import java.util.TimerTask import java.util.WeakHashMap -import java.util.regex.Matcher import java.util.concurrent.ConcurrentLinkedQueue +import java.util.regex.Matcher import kotlin.properties.ReadWriteProperty import kotlin.reflect.KMutableProperty1 import kotlin.reflect.KProperty @@ -712,4 +712,6 @@ object LorenzUtils { fun <T> MutableCollection<T>.filterToMutable(predicate: (T) -> Boolean) = filterTo(mutableListOf(), predicate) + val Long.ticks get() = (this * 50).milliseconds + val Int.ticks get() = (this * 50).milliseconds } |