mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Potential fix to skip chunks being kept loaded
This commit is contained in:
parent
3651b3ac8d
commit
259fe94f83
1 changed files with 4 additions and 3 deletions
|
@ -252,10 +252,11 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
|||
if (!result) {
|
||||
continue outer;
|
||||
}
|
||||
} while (index < chunks.length
|
||||
&& System.currentTimeMillis() - start < 5);
|
||||
if (System.currentTimeMillis() - start > 5) {
|
||||
return;
|
||||
}
|
||||
} while (index < chunks.length);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue