From 9541fc32dcf28ad29f1acda5d5b49ab7232d74c8 Mon Sep 17 00:00:00 2001 From: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Date: Tue, 9 Aug 2022 23:51:17 -0400 Subject: [PATCH] Fix command pool submitting on shutdown (#8272) --- patches/server/Async-command-map-building.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patches/server/Async-command-map-building.patch b/patches/server/Async-command-map-building.patch index d166b6b6b8..daa3686098 100644 --- a/patches/server/Async-command-map-building.patch +++ b/patches/server/Async-command-map-building.patch @@ -28,7 +28,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + new com.google.common.util.concurrent.ThreadFactoryBuilder() + .setNameFormat("Paper Async Command Builder Thread Pool - %1$d") + .setUncaughtExceptionHandler(new net.minecraft.DefaultUncaughtExceptionHandlerWithName(net.minecraft.server.MinecraftServer.LOGGER)) -+ .build() ++ .build(), ++ new java.util.concurrent.ThreadPoolExecutor.DiscardPolicy() + ); + + private void sendAsync(ServerPlayer player) {