This commit is contained in:
gnembon committed 2023-10-25 19:09:20 +02:00
1 parent 1a7e8b6875
commit 382706a6df
23 files changed
+58 -224

No files matched your search

@@ -134,7 +134,7 @@ public class SystemInfo
// might be off one tick when run in the off tasks or asynchronously.
int currentReportedTick = c.server().getTickCount() - 1;
List<Value> ticks = new ArrayList<>(100);
long[] tickArray = c.server().tickTimes;
long[] tickArray = c.server().getTickTimesNanos();
for (int i = currentReportedTick + 100; i > currentReportedTick; i--)
{
ticks.add(new NumericValue((tickArray[i % 100]) / 1000000.0));