From 1c9ca4054853af6e4210a63cb71fc537d4d4af95 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 4 Dec 2021 08:19:20 +1100 Subject: [PATCH] SPIGOT-6832: Further improve Player#getPing docs --- src/main/java/org/bukkit/entity/Player.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index 38459110..0213fe48 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -1301,12 +1301,12 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM * Gets the player's estimated ping in milliseconds. * * In Vanilla this value represents a weighted average of the response time - * to the last four application layer ping packets sent. This value does not - * represent the network round trip time and as such may have less - * granularity and be impacted by other sources. For these reasons it - * should not be used for anti-cheat purposes. Its recommended use is - * only as a qualitative indicator of connection quality (Vanilla - * uses it for this purpose in the tab list). + * to application layer ping packets sent. This value does not represent the + * network round trip time and as such may have less granularity and be + * impacted by other sources. For these reasons it should not be used + * for anti-cheat purposes. Its recommended use is only as a + * qualitative indicator of connection quality (Vanilla uses it for + * this purpose in the tab list). * * @return player ping */