Prevent reputation from being 0, this causes all reports the player

opens to be instantly closed
This commit is contained in:
Keir Nellyer 2016-07-09 14:37:23 -04:00
parent 87df6804c9
commit c98c352546

View File

@ -88,7 +88,7 @@ public class ReportProfile
int denied = getReputationPart(category, ReportResultType.DENIED);
int abusive = getReputationPart(ReportCategory.GLOBAL, ReportResultType.ABUSIVE);
return accepted + denied + abusive;
return Math.max(accepted + denied + abusive, 1);
}
/**