diff options
author | Owen <[email protected]> | 2022-08-08 07:32:17 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-08 12:32:17 +0100 |
commit | 78b19f89a4658892c5ec79d5062f8c5b95ca149b (patch) | |
tree | 713704a3965c26f96d870f3d935bf44f7d30085a /patches/server/0558-Added-ServerResourcesReloadedEvent.patch | |
parent | a47301e40f3382b1ede657d5b0852004c134418f (diff) | |
download | Paper-78b19f89a4658892c5ec79d5062f8c5b95ca149b.tar.gz Paper-78b19f89a4658892c5ec79d5062f8c5b95ca149b.zip |
Separate Command Sending to Separate Thread Pool (#8170)
Diffstat (limited to 'patches/server/0558-Added-ServerResourcesReloadedEvent.patch')
-rw-r--r-- | patches/server/0558-Added-ServerResourcesReloadedEvent.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0558-Added-ServerResourcesReloadedEvent.patch b/patches/server/0558-Added-ServerResourcesReloadedEvent.patch index 447484eb5a..d1d3f68167 100644 --- a/patches/server/0558-Added-ServerResourcesReloadedEvent.patch +++ b/patches/server/0558-Added-ServerResourcesReloadedEvent.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Added ServerResourcesReloadedEvent diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 6fd6d2a4faf8e72511170fb3c3aa80733ed0e8d9..04be281c3862707055b143267186169205720ab2 100644 +index 52a60c887753fce32f99adaee8b73077bde663e9..e72af8f8c49dabcbe1d0a80176520ccdb55b1f5b 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java -@@ -1977,7 +1977,13 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa +@@ -1978,7 +1978,13 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa return this.functionManager; } @@ -22,7 +22,7 @@ index 6fd6d2a4faf8e72511170fb3c3aa80733ed0e8d9..04be281c3862707055b1432671861692 RegistryAccess.Frozen iregistrycustom_dimension = this.registryAccess(); CompletableFuture<Void> completablefuture = CompletableFuture.supplyAsync(() -> { Stream<String> stream = dataPacks.stream(); // CraftBukkit - decompile error -@@ -2003,6 +2009,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa +@@ -2004,6 +2010,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa this.packRepository.setSelected(dataPacks); this.worldData.setDataPackConfig(MinecraftServer.getSelectedPacks(this.packRepository)); this.resources.managers.updateRegistryTags(this.registryAccess()); |