Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
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