apparently I don't need Skip anymore
This commit is contained in:
parent
5687dc92c4
commit
fb45781d1b
2 changed files with 12 additions and 9 deletions
|
@ -128,19 +128,21 @@ public class LoadProcess implements Runnable
|
|||
{
|
||||
TaskManager.finish();
|
||||
}
|
||||
while (skip(currentRegion))
|
||||
{
|
||||
if (!setNextRegion())
|
||||
{
|
||||
TaskManager.finish();
|
||||
}
|
||||
}
|
||||
//while (skip(currentRegion))
|
||||
//{
|
||||
// if (!setNextRegion())
|
||||
// {
|
||||
// TaskManager.finish();
|
||||
// }
|
||||
//}
|
||||
ready = true;
|
||||
}
|
||||
|
||||
//=============================SKIP REGION?=============================
|
||||
//this is specific to our new TerrainControl world
|
||||
//skip all regions that contain jungle biome
|
||||
|
||||
/*
|
||||
private static final boolean skip(int[] r)
|
||||
{
|
||||
switch(r[0])
|
||||
|
@ -176,4 +178,5 @@ public class LoadProcess implements Runnable
|
|||
}
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
|
|
@ -21,8 +21,8 @@ public class TaskManager {
|
|||
|
||||
private static final void schedule()
|
||||
{
|
||||
loadTask = Bukkit.getScheduler().runTaskTimer(ConfigProcess.plugin, loadProcess, 0, 200);
|
||||
configTask = Bukkit.getScheduler().runTaskTimer(ConfigProcess.plugin, configProcess, 100, 200);
|
||||
loadTask = Bukkit.getScheduler().runTaskTimer(ConfigProcess.plugin, loadProcess, 0, 300);
|
||||
configTask = Bukkit.getScheduler().runTaskTimer(ConfigProcess.plugin, configProcess, 150, 300);
|
||||
}
|
||||
private static final void closedown()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue