From 72dde6b5ddb1894bf4f08b600ef1ebd5de0dd634 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Sun, 19 Mar 2023 12:28:28 -0700 Subject: [PATCH] Fire reload event after everything has been reloaded (#9003) This event is going to be more important very shortly (hopefully) --- .../Added-ServerResourcesReloadedEvent.patch | 14 +++++++------- patches/server/Custom-Potion-Mixes.patch | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/patches/server/Added-ServerResourcesReloadedEvent.patch b/patches/server/Added-ServerResourcesReloadedEvent.patch index c7028070cc..1aa1b75d8c 100644 --- a/patches/server/Added-ServerResourcesReloadedEvent.patch +++ b/patches/server/Added-ServerResourcesReloadedEvent.patch @@ -13,7 +13,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } + // Paper start - add cause -+ @Deprecated ++ @Deprecated @io.papermc.paper.annotation.DoNotUse public CompletableFuture reloadResources(Collection dataPacks) { + return this.reloadResources(dataPacks, io.papermc.paper.event.server.ServerResourcesReloadedEvent.Cause.PLUGIN); + } @@ -23,13 +23,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 CompletableFuture completablefuture = CompletableFuture.supplyAsync(() -> { Stream stream = dataPacks.stream(); // CraftBukkit - decompile error @@ -0,0 +0,0 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop