mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
Lower TPS threshold please
This commit is contained in:
parent
355e16fe92
commit
507d0f19e4
@ -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