3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00
Dieser Commit ist enthalten in:
Andrew Steinborn 2018-09-18 17:01:26 -04:00
Ursprung 717c2afeb3
Commit d796f079f0

Datei anzeigen

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