use of com.fastasyncworldedit.core.extent.processor.EmptyBatchProcessor in project FastAsyncWorldEdit by IntellectualSites.
the class ChunkHolder method call.
@Override
public synchronized T call(IChunkSet set, Runnable finalize) {
if (set != null) {
IChunkGet get = getOrCreateGet();
boolean postProcess = !(getExtent().getPostProcessor() instanceof EmptyBatchProcessor);
get.setCreateCopy(postProcess);
set = getExtent().processSet(this, get, set);
try {
return get.call(set, finalize);
} finally {
if (postProcess) {
getExtent().postProcess(this, get.getCopy(), set);
}
}
}
return null;
}
Aggregations