From 1deca8eab92f39bfa80e5ac48bf45b3a728dc6e5 Mon Sep 17 00:00:00 2001
From: Spottedleaf <Spottedleaf@users.noreply.github.com>
Date: Fri, 17 Dec 2021 06:55:16 -0800
Subject: [PATCH] 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.
---
 patches/server/Asynchronous-chunk-IO-and-loading.patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/patches/server/Asynchronous-chunk-IO-and-loading.patch b/patches/server/Asynchronous-chunk-IO-and-loading.patch
index ad6327676d..3ee7d3b94e 100644
--- a/patches/server/Asynchronous-chunk-IO-and-loading.patch
+++ b/patches/server/Asynchronous-chunk-IO-and-loading.patch
@@ -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()) {