From 8214fe30fe486d994f770e7a6c6fb0a6e878972b Mon Sep 17 00:00:00 2001 From: JOO200 Date: Sun, 3 Apr 2022 21:29:34 +0200 Subject: [PATCH] Specify the unit for getPing to milliseconds. (#676) --- api/src/main/java/com/velocitypowered/api/proxy/Player.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/com/velocitypowered/api/proxy/Player.java b/api/src/main/java/com/velocitypowered/api/proxy/Player.java index 76278f90..94bbde7b 100644 --- a/api/src/main/java/com/velocitypowered/api/proxy/Player.java +++ b/api/src/main/java/com/velocitypowered/api/proxy/Player.java @@ -92,7 +92,7 @@ public interface Player extends CommandSource, Identified, InboundConnection, Optional 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 */