Plugins need to be stored in a LinkedHashMap too.
This commit is contained in:
@@ -41,7 +41,7 @@ public class VelocityPluginManager implements PluginManager {
|
||||
|
||||
private static final Logger logger = LogManager.getLogger(VelocityPluginManager.class);
|
||||
|
||||
private final Map<String, PluginContainer> plugins = new HashMap<>();
|
||||
private final Map<String, PluginContainer> plugins = new LinkedHashMap<>();
|
||||
private final Map<Object, PluginContainer> pluginInstances = new IdentityHashMap<>();
|
||||
private final VelocityServer server;
|
||||
|
||||
|
Reference in New Issue
Block a user