From d796f079f075567b41506ab079c3dbe7820c3b8e Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Tue, 18 Sep 2018 17:01:26 -0400 Subject: [PATCH] I forgot this. --- .../main/java/com/velocitypowered/proxy/server/ServerMap.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/server/ServerMap.java b/proxy/src/main/java/com/velocitypowered/proxy/server/ServerMap.java index 357c97e95..247b5ebfe 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/server/ServerMap.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/server/ServerMap.java @@ -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 servers = new HashMap<>(); + private final Map servers = new ConcurrentHashMap<>(); public ServerMap(VelocityServer server) { this.server = server;