mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-04-06 16:40:52 +08:00
Merge pull request #19 from mikroskeem/master
Fix unregisterConnection using non-lowercase username
This commit is contained in:
commit
219d03c050
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user