21w06a
This commit is contained in:
1 parent
257aca4254
commit
ef4dc62f1f
2 files changed
+5
-5
No files matched your search
@@ -20,7 +20,7 @@ import java.util.concurrent.atomic.AtomicReferenceArray;
|
||||
@Mixin(ChunkHolder.class)
|
||||
public abstract class ChunkHolder_scarpetChunkCreationMixin implements ChunkHolderInterface
|
||||
{
|
||||
@Shadow protected abstract void combineSavingFuture(CompletableFuture<? extends Either<? extends Chunk, ChunkHolder.Unloaded>> newChunkFuture);
|
||||
@Shadow protected abstract void combineSavingFuture(CompletableFuture<? extends Either<? extends Chunk, ChunkHolder.Unloaded>> newChunkFuture, String type);
|
||||
|
||||
@Shadow @Final private AtomicReferenceArray<CompletableFuture<Either<Chunk, ChunkHolder.Unloaded>>> futuresByStatus;
|
||||
|
||||
@@ -32,7 +32,7 @@ public abstract class ChunkHolder_scarpetChunkCreationMixin implements ChunkHold
|
||||
() -> Either.left(new ProtoChunk(chpos, UpgradeData.NO_UPGRADE_DATA, world)),
|
||||
executor
|
||||
);
|
||||
combineSavingFuture(completableFuture2);
|
||||
combineSavingFuture(completableFuture2, "unfull"); // possible debug data
|
||||
futuresByStatus.set(i, completableFuture2);
|
||||
return completableFuture2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user