Skip to content

Commit

Permalink
fix: Move the initialization of the metrics after loading the configu…
Browse files Browse the repository at this point in the history
…ration when initializing the proxy
  • Loading branch information
MemencioPerez committed Jan 2, 2025
1 parent 3aecd3b commit 15508fd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ public UnSignedVelocity(ProxyServer server, Injector injector, @DataDirectory Pa

@Subscribe
public void onProxyInitialize(ProxyInitializeEvent event) {
factory.make(this, 17514);

try {
forciblyDisableForceKeyAuthentication();
loadMainFeatures();
factory.make(this, 17514);
registerCommand();
getPluginLoadMessages().forEach(logger::info);
checkForUpdates();
Expand Down

0 comments on commit 15508fd

Please sign in to comment.