13
0
geforkt von Mirrors/Paper

Fix command pool submitting on shutdown (#8272)

Dieser Commit ist enthalten in:
Owen1212055 2022-08-09 23:51:17 -04:00
Ursprung d4b4d5b95b
Commit 9541fc32dc

Datei anzeigen

@ -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) {