(team != Player.TEAM_NONE && team == game.getPlayer(aaa.getPlayerId()).getTeam())) {
team != Player.TEAM_NONE && team == game.getPlayer(aaa.getPlayerId()).getTeam()) {
    private Packet createArtilleryPacket(Player p) {                if(p.getSeeAll()) {            return new Packet(Packet.COMMAND_SENDING_ARTILLERYATTACKS, game.getArtilleryVector());        }        Vector v = new Vector();        int team = p.getTeam();        for(Enumeration i = game.getArtilleryAttacks();i.hasMoreElements();) {            ArtilleryAttackAction aaa = (ArtilleryAttackAction)i.nextElement();            if(aaa.getPlayerId() == p.getId() ||                    (team != Player.TEAM_NONE && team == game.getPlayer(aaa.getPlayerId()).getTeam())) {                v.addElement(aaa);            }        }        return new Packet(Packet.COMMAND_SENDING_ARTILLERYATTACKS, v);    }