if (e.getOwner().isEnemyOf(p)) {
if (e.getOwner().isEnemyOf(p) && !p.isObserver()) {
    private void updateVisibilityIndicator() {        Vector vAllEntities = game.getEntitiesVector();        for (int x = 0; x < vAllEntities.size(); x++) {            Entity e = (Entity)vAllEntities.elementAt(x);            boolean previousVisibleValue = e.isVisibleToEnemy();            boolean previousSeenValue = e.isSeenByEnemy();            e.setVisibleToEnemy(false);            Vector vCanSee = whoCanSee(e);            for (int y = 0; y < vCanSee.size(); y++) {                Player p = (Player)vCanSee.elementAt(y);                if (e.getOwner().isEnemyOf(p)) {                    e.setVisibleToEnemy(true);                    e.setSeenByEnemy(true);                }            }            if (previousVisibleValue != e.isVisibleToEnemy()                || previousSeenValue != e.isSeenByEnemy()) {                sendVisibilityIndicator(e);            }        }    }