mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-01-27 09:51:31 +01:00
Check if player is handled by Via on disconnect
This commit is contained in:
parent
a82bbc4e66
commit
578c661730
@ -137,7 +137,10 @@ public class ViaManager {
|
||||
}
|
||||
|
||||
public void handleDisconnect(UUID id) {
|
||||
handleDisconnect(getConnection(id));
|
||||
UserConnection connection = getConnection(id);
|
||||
if (connection != null) {
|
||||
handleDisconnect(connection);
|
||||
}
|
||||
}
|
||||
|
||||
public void handleDisconnect(UserConnection info) {
|
||||
|
Loading…
Reference in New Issue
Block a user