Skip to content

Commit

Permalink
Round longest player shot stat not ceil
Browse files Browse the repository at this point in the history
Signed-off-by: Pugzy <[email protected]>
  • Loading branch information
Pugzy authored and Electroid committed Jul 17, 2021
1 parent a512a67 commit 705ffca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/tc/oc/pgm/stats/PlayerStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected void setLongestFlagHold(Duration time) {

protected void setLongestBowKill(double distance) {
if (distance > longestBowKill) {
longestBowKill = (int) Math.ceil(distance);
longestBowKill = (int) Math.round(distance);
}
}

Expand Down

0 comments on commit 705ffca

Please sign in to comment.