Removed oddity in BukkitTPSCountTimer (#524)

This commit is contained in:
Rsl1122 2018-02-19 12:18:17 +02:00
parent bb5e0969ca
commit 3120439b5f

View File

@ -61,9 +61,7 @@ public class BukkitTPSCountTimer extends TPSCountTimer<Plan> {
entityCount = getEntityCount();
// 40ms removed because the run appears to take 40-50ms, screwing the tps.
long fortyMsAsNs = TimeAmount.MILLISECOND.ns() * 40L;
return getTPS(diff - fortyMsAsNs, now, averageCPUUsage, usedMemory, entityCount, loadedChunks, playersOnline);
return getTPS(diff, now, averageCPUUsage, usedMemory, entityCount, loadedChunks, playersOnline);
}
/**