}
protected void handleTheNetDead() {
Iterator<LoginShell> x = new HashSet<LoginShell>(getObjectRegistry().getActivePlayerHandles()).iterator();
CountingMap netDead = getNetDeadPlayers();
while (x.hasNext()) {
LoginShell shell = x.next();
if (!shell.getConnection().isActive()) {
Player p = getObjectRegistry().getPlayerByHandle(shell);
if (!netDead.containsKey(p)) {
// not a good way to do it.. but how.. ?
logger.info(p.getName() + " is net dead..");
p.addStatus(NET_DEAD_STATUS);
}
netDead.increment(p);
}
}
}