Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
I forgot this.
Dieser Commit ist enthalten in:
Ursprung
717c2afeb3
Commit
d796f079f0
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren