From 946985eb5f13873f44074a9771a7b016555c1f6c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 8 May 2024 18:39:33 +0200 Subject: Util: Fix tickCount() --- src/main/java/org/openslx/util/Util.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openslx/util/Util.java b/src/main/java/org/openslx/util/Util.java index 5300cfa..2ebd4e1 100644 --- a/src/main/java/org/openslx/util/Util.java +++ b/src/main/java/org/openslx/util/Util.java @@ -147,7 +147,7 @@ public class Util */ public static long tickCount() { - return System.nanoTime() / 1000; + return System.nanoTime() / 1000_000; } private static final String[] UNITS = new String[] { "B", "KB", "MB", "GB", "TB", "PB", "???" }; -- cgit v1.2.3-55-g7522