Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

Commit

Permalink
Fix loading components
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabccc committed Jul 11, 2023
1 parent a8a1364 commit d7ffa03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion velocity/src/main/java/fr/omny/flow/FlowProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,12 @@ public void init(ProxyServer server, Logger logger, Path dataDirectory) {

Injector.startApplication(FlowProxy.class, logger);
Injector.addFrom("fr.omny.flow");
declaredPackages().forEach(Injector::addFrom);

loadComponents();

declaredPackages().forEach(Injector::addFrom);


Injector.addService(Toml.class, "config", pluginConfig, true);

Injector.addService(ProxyServer.class, server, true);
Expand Down

0 comments on commit d7ffa03

Please sign in to comment.