diff options
author | syeyoung <cyong06@naver.com> | 2021-02-28 22:07:40 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-02-28 22:07:40 +0900 |
commit | d791b14ccc4b6e0c88b52daaf2975a4413f525df (patch) | |
tree | a66e23204de966b75e5918e7df023d7ae40a2139 /src/main/java | |
parent | cf903cf649f7983f6b8c3b9be687c607335c25ba (diff) | |
download | Skyblock-Dungeons-Guide-d791b14ccc4b6e0c88b52daaf2975a4413f525df.tar.gz Skyblock-Dungeons-Guide-d791b14ccc4b6e0c88b52daaf2975a4413f525df.tar.bz2 Skyblock-Dungeons-Guide-d791b14ccc4b6e0c88b52daaf2975a4413f525df.zip |
better timer
Diffstat (limited to 'src/main/java')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/utils/TextUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/utils/TextUtils.java b/src/main/java/kr/syeyoung/dungeonsguide/utils/TextUtils.java index 6982d6d9..acfc430f 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/utils/TextUtils.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/utils/TextUtils.java @@ -72,7 +72,7 @@ public class TextUtils { } public static String formatTime(long ms) { - long seconds = ms / 1000; + long seconds = (long) Math.ceil(ms / 1000.0); long hr = seconds / (60 * 60); seconds -= hr * 60 * 60; long min = seconds / 60; seconds -= min * 60; |