Specify the unit for getPing to milliseconds. (#676)
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user