I forgot this.

This commit is contained in:
Andrew Steinborn
2018-09-18 17:01:26 -04:00
parent 717c2afeb3
commit d796f079f0

View File

@@ -7,10 +7,11 @@ import com.velocitypowered.api.proxy.server.ServerInfo;
import com.velocitypowered.proxy.VelocityServer;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
public class ServerMap {
private final VelocityServer server;
private final Map<String, RegisteredServer> servers = new HashMap<>();
private final Map<String, RegisteredServer> servers = new ConcurrentHashMap<>();
public ServerMap(VelocityServer server) {
this.server = server;