mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 14:42:22 -07:00
compile fixes
This commit is contained in:
@@ -9000,12 +9000,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ LOGGER.warn("Future status not complete after scheduling: " + this.toStatus.toString() + ", generate: " + generation);
|
||||
+ }
|
||||
+
|
||||
+ final ChunkResult<ChunkAccess> either;
|
||||
+ final ChunkAccess newChunk;
|
||||
+
|
||||
+ try {
|
||||
+ either = completeFuture.join();
|
||||
+ newChunk = (either == null) ? null : either.orElse(null);
|
||||
+ newChunk = completeFuture.join();
|
||||
+ } catch (final Throwable throwable) {
|
||||
+ this.complete(null, throwable);
|
||||
+ // ensure the chunk system can respond, then die
|
||||
@@ -9016,7 +9014,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ }
|
||||
+
|
||||
+ if (newChunk == null) {
|
||||
+ this.complete(null, new IllegalStateException("Chunk for status: " + ChunkUpgradeGenericStatusTask.this.toStatus.toString() + ", generation: " + generation + " should not be null! Either: " + either).fillInStackTrace());
|
||||
+ this.complete(null, new IllegalStateException("Chunk for status: " + ChunkUpgradeGenericStatusTask.this.toStatus.toString() + ", generation: " + generation + " should not be null! Future: " + completeFuture).fillInStackTrace());
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
|
Reference in New Issue
Block a user