Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import com.velocityctd.proxy.command.builtin.QueueAdminCommand;
import com.velocityctd.proxy.command.builtin.SlashServerCommand;
import com.velocityctd.proxy.command.builtin.TransferCommand;
import com.velocityctd.proxy.connection.profile.GameProfileFetcher;
import com.velocityctd.proxy.queue.RedisVelocityQueueManager;
import com.velocityctd.proxy.queue.VelocityQueueManager;
import com.velocityctd.proxy.redis.VelocityRedis;
Expand Down Expand Up @@ -333,11 +332,6 @@ public class VelocityServer implements ProxyServer, ForwardingAudience {
*/
private @MonotonicNonNull VelocityRedis redis;

/**
* The global {@link GameProfileFetcher} used by {@link com.velocitypowered.proxy.connection.client.InitialLoginSessionHandler}.
*/
private @MonotonicNonNull GameProfileFetcher gameProfileFetcher;

VelocityServer(final ProxyOptions options) {
pluginManager = new VelocityPluginManager(this);
eventManager = new VelocityEventManager(pluginManager);
Expand Down Expand Up @@ -384,10 +378,6 @@ public VelocityRedis getRedis() {
return redis;
}

public @MonotonicNonNull GameProfileFetcher getGameProfileFetcher() {
return gameProfileFetcher;
}

@Override
public final VelocityConfiguration getConfiguration() {
return this.configuration;
Expand Down Expand Up @@ -524,8 +514,6 @@ void start() {
}
}

gameProfileFetcher = new GameProfileFetcher(this);

if (configuration.getRedis().isEnabled()) {
redis = new VelocityRedis(this);
}
Expand Down
Loading