diff --git a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java index 1e5fe59..3bf3ef1 100644 --- a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java +++ b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java @@ -236,7 +236,7 @@ public final class RedisBungee extends Plugin { if (pool != null) { Jedis tmpRsc = pool.getResource(); try { - tmpRsc.hset("heartbeats", serverId, String.valueOf(System.currentTimeMillis())); + tmpRsc.hset("heartbeats", serverId, String.valueOf(System.nanoTime())); } finally { pool.returnResource(tmpRsc); }