Skip to content

Commit

Permalink
fix velocity fields not being populated
Browse files Browse the repository at this point in the history
  • Loading branch information
Scarsz committed Oct 12, 2023
1 parent 0798817 commit cc77ca6
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,16 @@ public class MinecraftAuthVelocity {
@Getter private static MinecraftAuthVelocity instance;
@Getter private AuthenticationService service;

@Inject private Logger logger;
@Inject private ProxyServer server;
@DataDirectory Path dataDirectory;
@Inject private final ProxyServer server;
@Inject private final Logger logger;
private final Path dataDirectory;

@Inject
public MinecraftAuthVelocity(ProxyServer server, Logger logger, @DataDirectory Path dataDirectory) {
this.server = server;
this.logger = logger;
this.dataDirectory = dataDirectory;
}

@Subscribe
public void onProxyInitialization(ProxyInitializeEvent event) {
Expand Down

0 comments on commit cc77ca6

Please sign in to comment.