diff options
author | Andrew Steinborn <andrew@steinborn.me> | 2020-05-26 05:49:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 10:49:58 +0100 |
commit | d993703e9b52651d456e7eceb691f90228b2cd5e (patch) | |
tree | 3f3c3450cb69818c1ea7edec552e92a44884a4b3 /spark-bukkit/src/main/java/me | |
parent | 0f207b3c44c701d42ac1bb828f5c967e2de73568 (diff) | |
download | spark-d993703e9b52651d456e7eceb691f90228b2cd5e.tar.gz spark-d993703e9b52651d456e7eceb691f90228b2cd5e.tar.bz2 spark-d993703e9b52651d456e7eceb691f90228b2cd5e.zip |
Add 95th percentile MSPT and replace average MSPT with median MSPT (#55)
Diffstat (limited to 'spark-bukkit/src/main/java/me')
-rw-r--r-- | spark-bukkit/src/main/java/me/lucko/spark/bukkit/placeholder/SparkPlaceholderProvider.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spark-bukkit/src/main/java/me/lucko/spark/bukkit/placeholder/SparkPlaceholderProvider.java b/spark-bukkit/src/main/java/me/lucko/spark/bukkit/placeholder/SparkPlaceholderProvider.java index 0f57149..ee96630 100644 --- a/spark-bukkit/src/main/java/me/lucko/spark/bukkit/placeholder/SparkPlaceholderProvider.java +++ b/spark-bukkit/src/main/java/me/lucko/spark/bukkit/placeholder/SparkPlaceholderProvider.java @@ -68,12 +68,9 @@ enum SparkPlaceholderProvider { switch (placeholder) { case "tickduration": return TextComponent.builder("") - .append(HealthModule.formatTickDurations(tickStatistics.duration5Sec())).append(TextComponent.of(", ")) - .append(HealthModule.formatTickDurations(tickStatistics.duration10Sec())).append(TextComponent.of(", ")) + .append(HealthModule.formatTickDurations(tickStatistics.duration10Sec())).append(TextComponent.of("; ")) .append(HealthModule.formatTickDurations(tickStatistics.duration1Min())) .build(); - case "tickduration_5s": - return HealthModule.formatTickDurations(tickStatistics.duration5Sec()); case "tickduration_10s": return HealthModule.formatTickDurations(tickStatistics.duration10Sec()); case "tickduration_1m": |