mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Merge pull request #1645 from dordsor21/master
Lower TPS threshold please
This commit is contained in:
commit
1918000668
@ -251,7 +251,7 @@ public abstract class HybridUtils {
|
|||||||
}
|
}
|
||||||
if (!chunks.isEmpty()) {
|
if (!chunks.isEmpty()) {
|
||||||
long diff = System.currentTimeMillis() + 1;
|
long diff = System.currentTimeMillis() + 1;
|
||||||
if (System.currentTimeMillis() - baseTime - last.get() > 2000 && last.get() != 0) {
|
if (System.currentTimeMillis() - baseTime - last.get() > 2200 && last.get() != 0) {
|
||||||
last.set(0);
|
last.set(0);
|
||||||
PS.debug(C.PREFIX.s() + "Detected low TPS. Rescheduling in 30s");
|
PS.debug(C.PREFIX.s() + "Detected low TPS. Rescheduling in 30s");
|
||||||
Iterator<ChunkLoc> iterator = chunks.iterator();
|
Iterator<ChunkLoc> iterator = chunks.iterator();
|
||||||
|
Loading…
Reference in New Issue
Block a user