Skip to content

Commit

Permalink
avoid errors by using 20 as initial value
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Dec 24, 2023
1 parent 46141ad commit 1fd168a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public double getTPS(Location location) {

@Override
public double getTPS(World world, int chunkX, int chunkZ) {
AtomicDouble atomic_tps = new AtomicDouble();
AtomicDouble atomic_tps = new AtomicDouble(20.0);
this.server.getRegionScheduler().execute(plugin, world, chunkX, chunkZ, () -> {
final ThreadedRegionizer.ThreadedRegion<TickRegions.TickRegionData, TickRegions.TickRegionSectionData>
currentRegion = TickRegionScheduler.getCurrentRegion();
Expand Down

0 comments on commit 1fd168a

Please sign in to comment.