From 0983c050662a9d81a51a47c76c4764816824b656 Mon Sep 17 00:00:00 2001 From: Pugzy Date: Sun, 4 Jul 2021 14:01:41 +0100 Subject: [PATCH] Round longest player shot stat not ceil Signed-off-by: Pugzy --- core/src/main/java/tc/oc/pgm/stats/PlayerStats.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/tc/oc/pgm/stats/PlayerStats.java b/core/src/main/java/tc/oc/pgm/stats/PlayerStats.java index 26e7603dee..4e9e827f5a 100644 --- a/core/src/main/java/tc/oc/pgm/stats/PlayerStats.java +++ b/core/src/main/java/tc/oc/pgm/stats/PlayerStats.java @@ -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); } }