Specify the unit for getPing to milliseconds. (#676)

This commit is contained in:
JOO200
2022-04-03 21:29:34 +02:00
committed by GitHub
parent 95a32ad421
commit 8214fe30fe

View File

@@ -92,7 +92,7 @@ public interface Player extends CommandSource, Identified, InboundConnection,
Optional<ModInfo> getModInfo(); Optional<ModInfo> getModInfo();
/** /**
* Returns the current player's ping. * Gets the player's estimated ping in milliseconds.
* *
* @return the player's ping or -1 if ping information is currently unknown * @return the player's ping or -1 if ping information is currently unknown
*/ */