logger.info("Started server");
nextNetworkTick = time.getRawTimeInMs();
} catch (ChannelException e) {
if (e.getCause() instanceof BindException) {
throw new HostingFailedException("Port already in use (are you already hosting a game?)");
} else {
throw new HostingFailedException("Failed to host game");
}
}
}
}