diff --git a/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/utils/TPSCache.java b/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/utils/TPSCache.java index 18a1d026c..425ce6fdd 100755 --- a/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/utils/TPSCache.java +++ b/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/utils/TPSCache.java @@ -101,7 +101,7 @@ public double getTPS(World world, int chunkX, int chunkZ) { AtomicDouble atomic_tps = new AtomicDouble(20.0); // Update atomic double via region scheduler execute method so usage of TickRegionScheduler.getCurrentRegion() // happens faster and on the thread of the region that owns the location. - this.server.getRegionScheduler().execute(plugin, world, chunkX, chunkZ, () -> { + this.server.getRegionScheduler().execute(this.plugin, world, chunkX, chunkZ, () -> { // Get the potential separate region that owns the location final ThreadedRegionizer.ThreadedRegion currentRegion = TickRegionScheduler.getCurrentRegion();