Make Code Better

This commit is contained in:
Alexander Xia committed 2018-06-25 00:34:32 +08:00
1 parent 469c8b62a9
commit 622e834d26
22 files changed
+120 -115

No files matched your search

@@ -2,7 +2,7 @@ package customskinloader.utils;
public class TimeUtil {
public static long getCurrentUnixTimestamp(){
return System.currentTimeMillis()/1000l;
return System.currentTimeMillis() / 1000L;
}
public static long getUnixTimestamp(long offset){
return getCurrentUnixTimestamp()+offset;