add ForkJoinPool.commonPool() as mca.close() DNE

Andrew Gazelka 2018-06-27 19:52:45 -05:00
parent ec33d40060
commit 358e0a4f6b

@ -118,7 +118,7 @@ queue.filterWorld(new MCAFilter() {
int distanceSquared = distanceX * distanceX + distanceZ * distanceZ;
if (distanceSquared > radiusSquared) {
// Delete this file since it's outside the radius
mca.close();
mca.close(ForkJoinPool.commonPool());
mca.getFile().delete();
return null;
} else if (distanceSquared + 512 < radiusSquared) {