mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-03 21:37:28 +01:00
Complete future when chunk fails to load
This commit is contained in:
parent
1800f3b561
commit
3e600507c8
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
+ }
|
||||
+ }
|
||||
|
|
Loading…
Add table
Reference in a new issue