From 627c3d4475212901b5e75bcd0bfd135e033cfc61 Mon Sep 17 00:00:00 2001
From: Jake Potrebic <jake.m.potrebic@gmail.com>
Date: Sun, 12 Mar 2023 11:00:02 -0700
Subject: [PATCH] Properly handle load before plugins in legacy loading (#8962)

---
 patches/server/Paper-Plugins.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patches/server/Paper-Plugins.patch b/patches/server/Paper-Plugins.patch
index 6623706028..5b42eaa05d 100644
--- a/patches/server/Paper-Plugins.patch
+++ b/patches/server/Paper-Plugins.patch
@@ -2283,7 +2283,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +                }
 +            }
 +
-+            Collection<String> loadBeforeSet = provider.getMeta().getPluginSoftDependencies();
++            Collection<String> loadBeforeSet = provider.getMeta().getLoadBeforePlugins();
 +            if (loadBeforeSet != null && !loadBeforeSet.isEmpty()) {
 +                for (String loadBeforeTarget : loadBeforeSet) {
 +                    if (softDependencies.containsKey(loadBeforeTarget)) {