mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-02-23 15:49:19 +08:00
Specify the unit for getPing to milliseconds. (#676)
This commit is contained in:
parent
95a32ad421
commit
8214fe30fe
@ -92,7 +92,7 @@ public interface Player extends CommandSource, Identified, InboundConnection,
|
||||
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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user