Fix threading & other issues

This commit is contained in:
Daniel Mills 2021-07-19 06:32:38 -04:00
parent 0a591e748f
commit 6d117f824d
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ public class HybridPregenMethod implements PregeneratorMethod {
return false;
}
return !new File(world.getWorldFolder(), "region/r." + x + "." + z + ".mca").exists();
return new File(world.getWorldFolder(), "region/r." + x + "." + z + ".mca").exists();
}
@Override

View File

@ -114,7 +114,7 @@ public class PaperAsyncPregenMethod implements PregeneratorMethod {
@Override
public void generateChunk(int x, int z, PregenListener listener) {
if(future.size() > 32)
if(future.size() > 128)
{
waitForChunks();
}