aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0588-Added-ServerResourcesReloadedEvent.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2021-11-08 23:59:15 -0800
committerGitHub <[email protected]>2021-11-08 23:59:15 -0800
commita923e332ee20bbbe6319c361496c9ea5728b4d08 (patch)
treef397940e6ff621e34a85828f8fd153662333fad4 /patches/server/0588-Added-ServerResourcesReloadedEvent.patch
parent87121cef2912bfbaf514fdbfea75509af531de8a (diff)
downloadPaper-a923e332ee20bbbe6319c361496c9ea5728b4d08.tar.gz
Paper-a923e332ee20bbbe6319c361496c9ea5728b4d08.zip
Make despawn distance configs per-category, improve per category spawn limit config (#6717)
Also adds per-world spawn limit config in paper.yml for `underground_water_creature`, and migrates existing spawn limit config options to their Mojang names.
Diffstat (limited to 'patches/server/0588-Added-ServerResourcesReloadedEvent.patch')
-rw-r--r--patches/server/0588-Added-ServerResourcesReloadedEvent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0588-Added-ServerResourcesReloadedEvent.patch b/patches/server/0588-Added-ServerResourcesReloadedEvent.patch
index 2fd47abb0a..452282437a 100644
--- a/patches/server/0588-Added-ServerResourcesReloadedEvent.patch
+++ b/patches/server/0588-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 c2c84eb3d43968424ed995fde312a6ac2ba74b2e..1a3158738bf4c506f3868a43cadc30c854532238 100644
+index 1e163dd6f1f1038cb7945347982407969962e277..d37b14523dd2a0e6412449001c7876bd27bf760e 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
-@@ -2021,7 +2021,13 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
+@@ -2022,7 +2022,13 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
return this.functionManager;
}
@@ -22,7 +22,7 @@ index c2c84eb3d43968424ed995fde312a6ac2ba74b2e..1a3158738bf4c506f3868a43cadc30c8
CompletableFuture<Void> completablefuture = CompletableFuture.supplyAsync(() -> {
Stream<String> stream = datapacks.stream(); // CraftBukkit - decompile error
PackRepository resourcepackrepository = this.packRepository;
-@@ -2037,6 +2043,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
+@@ -2038,6 +2044,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
this.packRepository.setSelected(datapacks);
this.worldData.setDataPackConfig(MinecraftServer.getSelectedPacks(this.packRepository));
datapackresources.updateGlobals();