Also reset when an exception is thrown.
This commit is contained in:
@@ -772,6 +772,8 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
|||||||
} else if (status.getStatus() == Status.SERVER_DISCONNECTED) {
|
} else if (status.getStatus() == Status.SERVER_DISCONNECTED) {
|
||||||
resetInFlightConnection();
|
resetInFlightConnection();
|
||||||
}
|
}
|
||||||
|
} else if (throwable != null) {
|
||||||
|
resetInFlightConnection();
|
||||||
}
|
}
|
||||||
}, connection.eventLoop())
|
}, connection.eventLoop())
|
||||||
.thenApply(x -> x);
|
.thenApply(x -> x);
|
||||||
|
Reference in New Issue
Block a user