mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 20:07:41 +01:00
Properly handle load before plugins in legacy loading (#8962)
This commit is contained in:
parent
afa04e6cd7
commit
627c3d4475
@ -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 New Issue
Block a user