geforkt von Mirrors/Velocity
Preserve plugin load order correctly
Dieser Commit ist enthalten in:
Ursprung
2a29813bde
Commit
c377ed4b57
@ -28,6 +28,7 @@ import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.IdentityHashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
@ -84,7 +85,7 @@ public class VelocityPluginManager implements PluginManager {
|
||||
List<PluginDescription> sortedPlugins = PluginDependencyUtils.sortCandidates(found);
|
||||
|
||||
Set<String> loadedPluginsById = new HashSet<>();
|
||||
Map<PluginContainer, Module> pluginContainers = new HashMap<>();
|
||||
Map<PluginContainer, Module> pluginContainers = new LinkedHashMap<>();
|
||||
// Now load the plugins
|
||||
pluginLoad:
|
||||
for (PluginDescription candidate : sortedPlugins) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren