Update to Minecraft 1.18-rc3

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-11-27 08:00:00 +11:00
parent 96d5854b53
commit 27643e5df2
4 changed files with 23 additions and 23 deletions

View File

@@ -74,7 +74,7 @@
boolean flag = either != null && either.right().isPresent();
if (!flag) {
@@ -338,7 +356,7 @@
@@ -348,7 +366,7 @@
this.pendingFullStateConfirmation = completablefuture1;
completablefuture.thenAccept((either) -> {
either.ifLeft((chunk) -> {
@@ -83,7 +83,7 @@
});
});
}
@@ -355,6 +373,30 @@
@@ -365,6 +383,30 @@
boolean flag1 = this.ticketLevel <= PlayerChunkMap.MAX_CHUNK_DISTANCE;
PlayerChunk.State playerchunk_state = getFullChunkStatus(this.oldTicketLevel);
PlayerChunk.State playerchunk_state1 = getFullChunkStatus(this.ticketLevel);
@@ -114,7 +114,7 @@
if (flag) {
Either<IChunkAccess, PlayerChunk.Failure> either = Either.right(new PlayerChunk.Failure() {
@@ -425,6 +467,26 @@
@@ -435,6 +477,26 @@
this.onLevelChange.onLevelChange(this.pos, this::getQueueLevel, this.ticketLevel, this::setQueueLevel);
this.oldTicketLevel = this.ticketLevel;