public final void broadcastTeamPacket(byte[] p, int team) {
        if (disposed) {
            return;
        }
        for (MapleCharacter chr : getPlayers()) {
            if (chr.getTeam() == team) {
                chr.getClient().getSession().write(p);
            }
        }
    }