mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-22 10:36:01 +01:00
add ForkJoinPool.commonPool() as mca.close() DNE
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user