This commit is contained in:
gnembon committed 2021-02-10 23:29:42 -04:00
1 parent 257aca4254
commit ef4dc62f1f
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -4,10 +4,10 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/use
# or better: https://modmuss50.me/fabric.html
minecraft_version=21w05b
yarn_mappings=21w05b+build.14
minecraft_version=21w06a
yarn_mappings=21w06a+build.1
loader_version=0.11.1
fabric_version=0.30.1+1.17
fabric_version=0.30.2+1.17
# Mod Properties
mod_version = 1.4.25
@@ -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;
}