Skip to content

Commit

Permalink
somehow I cant live without this
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Dec 24, 2023
1 parent 35861bb commit 376a972
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<TickRegions.TickRegionData, TickRegions.TickRegionSectionData>
currentRegion = TickRegionScheduler.getCurrentRegion();
Expand Down

0 comments on commit 376a972

Please sign in to comment.