Check if player is handled by Via on disconnect

This commit is contained in:
KennyTV 2020-04-22 22:11:01 +02:00
parent a82bbc4e66
commit 578c661730
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B

View File

@ -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) {