Properly handle load before plugins in legacy loading (#8962)

This commit is contained in:
Jake Potrebic 2023-03-12 11:00:02 -07:00
parent afa04e6cd7
commit 627c3d4475

View File

@ -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)) {