From 59d8bd4c78a2a6baaeaecb690d2d22dce41e49d4 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sun, 11 Oct 2020 14:36:56 -0400 Subject: [PATCH] Plugins need to be stored in a LinkedHashMap too. --- .../com/velocitypowered/proxy/plugin/VelocityPluginManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityPluginManager.java b/proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityPluginManager.java index 1a2301c38..232e8c254 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityPluginManager.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/plugin/VelocityPluginManager.java @@ -41,7 +41,7 @@ public class VelocityPluginManager implements PluginManager { private static final Logger logger = LogManager.getLogger(VelocityPluginManager.class); - private final Map plugins = new HashMap<>(); + private final Map plugins = new LinkedHashMap<>(); private final Map pluginInstances = new IdentityHashMap<>(); private final VelocityServer server;