removed "unqueued" check
This commit is contained in:
parent
1d7d4961d3
commit
cf798914a7
2 changed files with 2 additions and 3 deletions
|
@ -113,7 +113,6 @@ public class LoadProcess implements Runnable
|
|||
//==================================RUN=================================
|
||||
|
||||
private volatile boolean ready = true;
|
||||
private volatile int unqueued = 0;
|
||||
public final void run()
|
||||
{
|
||||
if (!ready) return;
|
||||
|
@ -125,7 +124,7 @@ public class LoadProcess implements Runnable
|
|||
for (int[] chunk : xRow)
|
||||
{
|
||||
world.loadChunk(chunk[0], chunk[1], true);
|
||||
if (!world.unloadChunkRequest(chunk[0], chunk[1])) unqueued++;
|
||||
world.unloadChunkRequest(chunk[0], chunk[1]);
|
||||
}
|
||||
}
|
||||
if (!setNextRegion())
|
||||
|
|
|
@ -16,7 +16,7 @@ public class Main extends JavaPlugin {
|
|||
|
||||
if (ConfigProcess.crashResume())
|
||||
{
|
||||
Bukkit.getScheduler().runTaskLater(this, new CrashResume(), 1200);
|
||||
Bukkit.getScheduler().runTaskLater(this, new CrashResume(), 600);
|
||||
}
|
||||
}
|
||||
private static final class CrashResume implements Runnable
|
||||
|
|
Loading…
Reference in a new issue