if (!network.isPresent()) {
return;
}
+ networkConnections.remove(network.get());
if (!connection.established()) {
return;
}
}
bots.clear();
eventBus.post(new GenericMessage(String.format("Network %s disconnected, %d bots removed, %d packs removed.", network.get().name(), botCount, packCount)));
-
- /* now remove the network. */
- networkConnections.remove(network.get());
}
//