mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
fix: always set createCopy status on chunk get as chunks are cached (#2567)
- fixes #2539
This commit is contained in:
@ -1031,10 +1031,10 @@ public class ChunkHolder<T extends Future<T>> implements IQueueChunk<T> {
|
||||
try {
|
||||
get.lockCall();
|
||||
boolean postProcess = !(getExtent().getPostProcessor() instanceof EmptyBatchProcessor);
|
||||
final int copyKey = get.setCreateCopy(postProcess);
|
||||
final IChunkSet iChunkSet = getExtent().processSet(this, get, set);
|
||||
Runnable finalizer;
|
||||
if (postProcess) {
|
||||
int copyKey = get.setCreateCopy(true);
|
||||
finalizer = () -> {
|
||||
getExtent().postProcess(this, get.getCopy(copyKey), iChunkSet);
|
||||
finalize.run();
|
||||
|
Reference in New Issue
Block a user