mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-27 00:23:01 +00:00
Make Code Better
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user