Make sure to complete the result too

This commit is contained in:
Andrew Steinborn
2019-05-19 21:56:09 -04:00
parent 321b42d225
commit a684aaa325

View File

@@ -112,6 +112,7 @@ public class TransitionSessionHandler implements MinecraftSessionHandler {
serverConn.getServerInfo().getName(),
serverConn.getPlayer().getUsername(), exc);
serverConn.getPlayer().disconnect(ConnectionMessages.INTERNAL_SERVER_CONNECTION_ERROR);
resultFuture.completeExceptionally(exc);
return null;
});