Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-08 17:20:24 +01:00
Check if player is handled by Via on disconnect
Dieser Commit ist enthalten in:
Ursprung
a82bbc4e66
Commit
578c661730
@ -137,7 +137,10 @@ public class ViaManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void handleDisconnect(UUID id) {
|
public void handleDisconnect(UUID id) {
|
||||||
handleDisconnect(getConnection(id));
|
UserConnection connection = getConnection(id);
|
||||||
|
if (connection != null) {
|
||||||
|
handleDisconnect(connection);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void handleDisconnect(UserConnection info) {
|
public void handleDisconnect(UserConnection info) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren