aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-26 13:07:18 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-26 13:07:18 +0100
commit9cb57df01efca37e64531ae86471a593e7b2e487 (patch)
tree22085e5a85d22f0b628911defde894c4b751c3e4 /src/main/java/at/hannibal2/skyhanni/events
parentb464bf910e62a9eeb2e71a3030e4bf54b3e9ff3b (diff)
downloadSkyHanni-9cb57df01efca37e64531ae86471a593e7b2e487.tar.gz
SkyHanni-9cb57df01efca37e64531ae86471a593e7b2e487.tar.bz2
SkyHanni-9cb57df01efca37e64531ae86471a593e7b2e487.zip
New sort logic.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/LorenzEvent.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/LorenzEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/LorenzEvent.kt
index fc130de50..95ce8823f 100644
--- a/src/main/java/at/hannibal2/skyhanni/events/LorenzEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/events/LorenzEvent.kt
@@ -1,8 +1,8 @@
package at.hannibal2.skyhanni.events
import at.hannibal2.skyhanni.SkyHanniMod
-import at.hannibal2.skyhanni.test.GriffinJavaUtils
import at.hannibal2.skyhanni.utils.LorenzUtils
+import at.hannibal2.skyhanni.utils.LorenzUtils.sorted
import net.minecraftforge.common.MinecraftForge
import net.minecraftforge.fml.common.eventhandler.Event
@@ -30,7 +30,7 @@ abstract class LorenzEvent : Event() {
lastPrint = System.currentTimeMillis()
println(" ")
println("Event Timings!")
- for (entry in GriffinJavaUtils.sortByValue(map)) {
+ for (entry in map.sorted()) {
println(entry.key + ": " + entry.value + " ms")
}
println(" ")