Prevent reputation from being 0, this causes all reports the player
opens to be instantly closed
This commit is contained in:
parent
87df6804c9
commit
c98c352546
@ -88,7 +88,7 @@ public class ReportProfile
|
|||||||
int denied = getReputationPart(category, ReportResultType.DENIED);
|
int denied = getReputationPart(category, ReportResultType.DENIED);
|
||||||
int abusive = getReputationPart(ReportCategory.GLOBAL, ReportResultType.ABUSIVE);
|
int abusive = getReputationPart(ReportCategory.GLOBAL, ReportResultType.ABUSIVE);
|
||||||
|
|
||||||
return accepted + denied + abusive;
|
return Math.max(accepted + denied + abusive, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user