1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-31 12:03:27 +01:00

Add missing return when datafixers fail for chunk conversion

Caused the chunk to be later deserialized, which would
result in spamming unrelated errors (possibly) +
double chunk completion.
This commit is contained in:
Spottedleaf 2021-12-17 06:55:16 -08:00
parent 8671893fb5
commit 1deca8eab9

View file

@ -1544,6 +1544,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ } catch (final Throwable ex) {
+ PaperFileIOThread.LOGGER.error("Could not apply datafixers for chunk task: " + this.toString(), ex);
+ this.complete(ChunkLoadTask.createEmptyHolder());
+ return;
+ }
+
+ if (this.checkCancelled()) {