mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-28 03:57:33 +01:00
Removed oddity in BukkitTPSCountTimer (#524)
This commit is contained in:
parent
bb5e0969ca
commit
3120439b5f
@ -61,9 +61,7 @@ public class BukkitTPSCountTimer extends TPSCountTimer<Plan> {
|
|||||||
|
|
||||||
entityCount = getEntityCount();
|
entityCount = getEntityCount();
|
||||||
|
|
||||||
// 40ms removed because the run appears to take 40-50ms, screwing the tps.
|
return getTPS(diff, now, averageCPUUsage, usedMemory, entityCount, loadedChunks, playersOnline);
|
||||||
long fortyMsAsNs = TimeAmount.MILLISECOND.ns() * 40L;
|
|
||||||
return getTPS(diff - fortyMsAsNs, now, averageCPUUsage, usedMemory, entityCount, loadedChunks, playersOnline);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user