System.err.println("Error: Attempting to filter a Report object that is not public but has a subject (" + entity + ") with owner (" + owner + ").\n\tmessageId: " + r.messageId);
return r;
}
Report copy = new Report(r);
for (int j = 0; j < copy.dataCount(); j++) {
if (((r.type == Report.PLAYER) && (p.getId() != r.player)) || omitCheck || ((entity != null) && !canSee(p, entity))) {
if (r.isValueObscured(j)) {
copy.hideData(j);
// Mark the original report to indicate which players
// received an obscured version of it.