From 3d2bc848c19763bd28f36b508ef39ac046b572a9 Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 3 Jun 2020 00:00:17 -0400 Subject: [PATCH] Ensure VillagerTrades doesn't load async - fixes #3495 In rare cases, this class could potentially be loaded from the chunk threads causing it to initialize async and cause errors. This would then break the server and chunk saving. So ensure its loaded at start of server to avoid this. --- .../0390-Asynchronous-chunk-IO-and-loading.patch | 10 +++++++++- .../0461-Add-tick-times-API-and-mspt-command.patch | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Spigot-Server-Patches/0390-Asynchronous-chunk-IO-and-loading.patch b/Spigot-Server-Patches/0390-Asynchronous-chunk-IO-and-loading.patch index 82164e51e..06da174ca 100644 --- a/Spigot-Server-Patches/0390-Asynchronous-chunk-IO-and-loading.patch +++ b/Spigot-Server-Patches/0390-Asynchronous-chunk-IO-and-loading.patch @@ -2949,7 +2949,7 @@ index 20f54baacebe98435539d4cbef41f182040db2e9..9f8c0e10e42d233a8b74ee5a71fb8fb6 + } } diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 7920d24ab089fb8360ef74946cf7dc35cb7625eb..7956b082351e5923073a97d88009e9e288c13c11 100644 +index 7920d24ab089fb8360ef74946cf7dc35cb7625eb..9450e27e5ce9295d87b95be2797fc27984ca2b0b 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -780,6 +780,7 @@ public abstract class MinecraftServer extends IAsyncTaskHandlerReentrant