mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-14 13:43:55 +01:00
Properly handle load before plugins in legacy loading (#8962)
This commit is contained in:
parent
afa04e6cd7
commit
627c3d4475
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue