diff --git a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java index 630ad4ef8..4a5385e50 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java @@ -128,7 +128,7 @@ public class VelocityServer implements ProxyServer { } public void unregisterConnection(ConnectedPlayer connection) { - connectionsByName.remove(connection.getUsername(), connection); + connectionsByName.remove(connection.getUsername().toLowerCase(Locale.US), connection); connectionsByUuid.remove(connection.getUniqueId(), connection); }