mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-09-02 10:37:54 +00:00
@@ -353,7 +353,7 @@ public class OSAPI implements ILuaAPI {
|
|||||||
case "ingame":
|
case "ingame":
|
||||||
// Get in-game epoch
|
// Get in-game epoch
|
||||||
synchronized (this.m_alarms) {
|
synchronized (this.m_alarms) {
|
||||||
return this.m_day * 86400000 + (int) (this.m_time * 3600000.0f);
|
return this.m_day * 86400000L + (long) (this.m_time * 3600000.0);
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
throw new LuaException("Unsupported operation");
|
throw new LuaException("Unsupported operation");
|
||||||
|
Reference in New Issue
Block a user