From 3e600507c8db8c0228b26f4c12043e2c0587901d Mon Sep 17 00:00:00 2001 From: Aikar Date: Mon, 8 Oct 2018 21:14:13 -0400 Subject: [PATCH] Complete future when chunk fails to load --- Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch b/Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch index e665f92a4..831ce3dac 100644 --- a/Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch +++ b/Spigot-Server-Patches/Async-Chunk-Loading-and-Generation.patch @@ -904,7 +904,7 @@ index 98d182fdb8..487d98eb1b 100644 diff --git a/src/main/java/net/minecraft/server/PaperAsyncChunkProvider.java b/src/main/java/net/minecraft/server/PaperAsyncChunkProvider.java new file mode 100644 -index 0000000000..1916bf372e +index 0000000000..dabc4184e5 --- /dev/null +++ b/src/main/java/net/minecraft/server/PaperAsyncChunkProvider.java @@ -0,0 +0,0 @@ @@ -1421,6 +1421,7 @@ index 0000000000..1916bf372e + } catch (Exception ex) { + MinecraftServer.LOGGER.error("Couldn't load chunk (" +world.getWorld().getName() + ":" + x + "," + z + ")", ex); + if (!(ex instanceof IOException)) { ++ loadFinished(null); + return; + } + }