mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-29 16:47:56 +00:00
@@ -314,13 +314,13 @@ public class ServerComputer extends ServerTerminal implements IComputer, IComput
|
||||
@Override
|
||||
public double getTimeOfDay()
|
||||
{
|
||||
return (m_world.getTime() + 6000) % 24000 / 1000.0;
|
||||
return (m_world.getTimeOfDay() + 6000) % 24000 / 1000.0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getDay()
|
||||
{
|
||||
return (int) ((m_world.getTime() + 6000) / 24000) + 1;
|
||||
return (int) ((m_world.getTimeOfDay() + 6000) / 24000) + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user