mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Here's to hoping this fixes that stupid ban crap.
This commit is contained in:
parent
a4ead85701
commit
5c097c83cb
@ -605,12 +605,12 @@ public class FUtil
|
||||
|
||||
public static Date getUnixDate(long unix)
|
||||
{
|
||||
return new Date(unix * 1000);
|
||||
return new Date(unix);
|
||||
}
|
||||
|
||||
public static long getUnixTime()
|
||||
{
|
||||
return System.currentTimeMillis() / 1000L;
|
||||
return Instant.now().getEpochSecond();
|
||||
}
|
||||
|
||||
public static long getUnixTime(Date date)
|
||||
@ -620,7 +620,7 @@ public class FUtil
|
||||
return 0;
|
||||
}
|
||||
|
||||
return date.getTime() / 1000L;
|
||||
return date.getTime();
|
||||
}
|
||||
|
||||
public static String getNMSVersion()
|
||||
|
Loading…
Reference in New Issue
Block a user