13
0
geforkt von Mirrors/Paper

SPIGOT-6832: Improve Player#getPing docs

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2021-12-04 08:10:14 +11:00
Ursprung 926db7c30b
Commit 9a4caaec10

Datei anzeigen

@ -1300,8 +1300,8 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
/** /**
* Gets the player's estimated ping in milliseconds. * Gets the player's estimated ping in milliseconds.
* *
* In Vanilla this value represents the average of the response time to the * In Vanilla this value represents a weighted average of the response time
* last four application layer ping packets sent. This value does not * 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 * represent the network round trip time and as such may have less
* granularity and be impacted by other sources. For these reasons it * granularity and be impacted by other sources. For these reasons it
* <b>should not</b> be used for anti-cheat purposes. Its recommended use is * <b>should not</b> be used for anti-cheat purposes. Its recommended use is