Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Set the correct delegate to the ChunkHolder when using get or set in NULL delegate (#1830)
Dieser Commit ist enthalten in:
Ursprung
fe90142f1f
Commit
3f103eea9b
@ -744,14 +744,14 @@ public class ChunkHolder<T extends Future<T>> implements IQueueChunk<T> {
|
|||||||
@Override
|
@Override
|
||||||
public IChunkGet get(ChunkHolder chunk) {
|
public IChunkGet get(ChunkHolder chunk) {
|
||||||
chunk.getOrCreateGet();
|
chunk.getOrCreateGet();
|
||||||
chunk.delegate = BOTH;
|
chunk.delegate = GET;
|
||||||
return chunk.chunkExisting;
|
return chunk.chunkExisting;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IChunkSet set(ChunkHolder chunk) {
|
public IChunkSet set(ChunkHolder chunk) {
|
||||||
chunk.getOrCreateSet();
|
chunk.getOrCreateSet();
|
||||||
chunk.delegate = BOTH;
|
chunk.delegate = SET;
|
||||||
return chunk.chunkSet;
|
return chunk.chunkSet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren