geforkt von Mirrors/Velocity
Complete the teardown future anyway
Dieser Commit ist enthalten in:
Ursprung
8a6e77689b
Commit
0109f4477a
@ -595,6 +595,8 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
|||||||
if (!this.explicitlyDisconnected) {
|
if (!this.explicitlyDisconnected) {
|
||||||
server.getEventManager().fire(new DisconnectEvent(this, !isConnected))
|
server.getEventManager().fire(new DisconnectEvent(this, !isConnected))
|
||||||
.thenRun(() -> this.teardownFuture.complete(null));
|
.thenRun(() -> this.teardownFuture.complete(null));
|
||||||
|
} else {
|
||||||
|
this.teardownFuture.complete(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren