diff --git a/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/utils/models/TPSCache.java b/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/utils/models/TPSCache.java index b301172b5..a8eedca37 100755 --- a/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/utils/models/TPSCache.java +++ b/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/utils/models/TPSCache.java @@ -82,7 +82,7 @@ public double getGlobalTPS() { Double tps = this.cached_tps.getIfPresent(regionHandle); if (tps == null) { // If nothing is cached yet, get tps and add to cache - tps = regionHandle.getTickReport15s(System.nanoTime()).tpsData().segmentAll().average(); + tps = regionHandle.getTickReport5s(System.nanoTime()).tpsData().segmentAll().average(); this.cached_tps.put(regionHandle, tps); } return tps; @@ -117,7 +117,7 @@ public double getTPS(World world, int chunkX, int chunkZ) { Double tps = this.cached_tps.getIfPresent(regionHandle); if (tps == null) { // If nothing is cached yet, get tps and add to cache - tps = regionHandle.getTickReport15s(System.nanoTime()).tpsData().segmentAll().average(); + tps = regionHandle.getTickReport5s(System.nanoTime()).tpsData().segmentAll().average(); this.cached_tps.put(regionHandle, tps); } atomic_tps.set(tps);