apparently I don't need Skip anymore

This commit is contained in:
BuildTools 2016-12-05 19:18:41 -05:00
parent 5687dc92c4
commit fb45781d1b
2 changed files with 12 additions and 9 deletions

View file

@ -128,19 +128,21 @@ public class LoadProcess implements Runnable
{ {
TaskManager.finish(); TaskManager.finish();
} }
while (skip(currentRegion)) //while (skip(currentRegion))
{ //{
if (!setNextRegion()) // if (!setNextRegion())
{ // {
TaskManager.finish(); // TaskManager.finish();
} // }
} //}
ready = true; ready = true;
} }
//=============================SKIP REGION?============================= //=============================SKIP REGION?=============================
//this is specific to our new TerrainControl world //this is specific to our new TerrainControl world
//skip all regions that contain jungle biome //skip all regions that contain jungle biome
/*
private static final boolean skip(int[] r) private static final boolean skip(int[] r)
{ {
switch(r[0]) switch(r[0])
@ -176,4 +178,5 @@ public class LoadProcess implements Runnable
} }
return false; return false;
} }
*/
} }

View file

@ -21,8 +21,8 @@ public class TaskManager {
private static final void schedule() private static final void schedule()
{ {
loadTask = Bukkit.getScheduler().runTaskTimer(ConfigProcess.plugin, loadProcess, 0, 200); loadTask = Bukkit.getScheduler().runTaskTimer(ConfigProcess.plugin, loadProcess, 0, 300);
configTask = Bukkit.getScheduler().runTaskTimer(ConfigProcess.plugin, configProcess, 100, 200); configTask = Bukkit.getScheduler().runTaskTimer(ConfigProcess.plugin, configProcess, 150, 300);
} }
private static final void closedown() private static final void closedown()
{ {