Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 00:00:28 +01:00
Ursprung
6555bcda74
Commit
369b076cad
@ -112,7 +112,10 @@ public class JoinListener implements Listener {
|
||||
return;
|
||||
}
|
||||
// The connection has already closed, that was a quick leave
|
||||
if (!channel.isOpen()) return;
|
||||
// Channel may be null if a plugin is manually calling the event for a non-player...
|
||||
if (channel == null || !channel.isOpen()) {
|
||||
return;
|
||||
}
|
||||
|
||||
UserConnection user = getUserConnection(channel);
|
||||
if (user == null) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren