diff options
author | Luck <git@lucko.me> | 2021-03-21 21:09:40 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-03-21 21:09:40 +0000 |
commit | 9766754d28fcbca1ccbeefc11ef7a88a4e3d7946 (patch) | |
tree | 1b42d2347a12fb7b84d83a40389c8e2575b7c963 /spark-common/src/main/java/me/lucko/spark/common/command | |
parent | 8afbad26d965204b48df9da534fb931c16558887 (diff) | |
download | spark-9766754d28fcbca1ccbeefc11ef7a88a4e3d7946.tar.gz spark-9766754d28fcbca1ccbeefc11ef7a88a4e3d7946.tar.bz2 spark-9766754d28fcbca1ccbeefc11ef7a88a4e3d7946.zip |
Refactor rolling average slightly
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/command')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/command/modules/HealthModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/HealthModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/HealthModule.java index 9bf3421..409eb38 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/HealthModule.java +++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/HealthModule.java @@ -51,7 +51,7 @@ import static net.kyori.adventure.text.format.TextDecoration.*; public class HealthModule implements CommandModule { - private static final int MSPT_95_PERCENTILE = 95; + private static final double MSPT_95_PERCENTILE = 0.95d; @Override public void registerCommands(Consumer<Command> consumer) { |