mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-08 09:54:04 +01:00
30s works better.
This commit is contained in:
parent
da4bf3b8b9
commit
81f195ac2b
@ -208,7 +208,7 @@ public class BukkitHybridUtils extends HybridUtils {
|
|||||||
long diff = System.currentTimeMillis() + 25;
|
long diff = System.currentTimeMillis() + 25;
|
||||||
if (System.currentTimeMillis() - last > 1000 && last != 0) {
|
if (System.currentTimeMillis() - last > 1000 && last != 0) {
|
||||||
last = 0;
|
last = 0;
|
||||||
PlotSquared.log(C.PREFIX.s() + "Detected low TPS. Rescheduling in 1 minute");
|
PlotSquared.log(C.PREFIX.s() + "Detected low TPS. Rescheduling in 30s");
|
||||||
while (chunks.size() > 0) {
|
while (chunks.size() > 0) {
|
||||||
ChunkLoc chunk = chunks.get(0);
|
ChunkLoc chunk = chunks.get(0);
|
||||||
chunks.remove(0);
|
chunks.remove(0);
|
||||||
@ -221,7 +221,7 @@ public class BukkitHybridUtils extends HybridUtils {
|
|||||||
public void run() {
|
public void run() {
|
||||||
scheduleRoadUpdate(world, regions);
|
scheduleRoadUpdate(world, regions);
|
||||||
}
|
}
|
||||||
}, 1200);
|
}, 600);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (System.currentTimeMillis() - last < 50) {
|
if (System.currentTimeMillis() - last < 50) {
|
||||||
|
Loading…
Reference in New Issue
Block a user