From 9f291f675c91e28bdb9aeb554fbdc7acef304448 Mon Sep 17 00:00:00 2001 From: Nathan Curran <30569566+Focusvity@users.noreply.github.com> Date: Sun, 21 Mar 2021 13:44:55 +1100 Subject: [PATCH] Use 'toEpochMilli()' instead (FS-147) --- src/main/java/me/totalfreedom/totalfreedommod/util/FUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/util/FUtil.java b/src/main/java/me/totalfreedom/totalfreedommod/util/FUtil.java index 361603c4..83d3c949 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/util/FUtil.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/util/FUtil.java @@ -612,7 +612,7 @@ public class FUtil public static long getUnixTime() { - return Instant.now().getEpochSecond(); + return Instant.now().toEpochMilli(); } public static long getUnixTime(Date date)