From 8fbce8423f3e714f4e68cac7c9da071538643dfd Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Mon, 26 Oct 2020 17:20:52 -0400 Subject: [PATCH] Fix typo in ServerPing#asBuilder() Javadoc Fixes #375 --- .../com/velocitypowered/api/proxy/server/ServerPing.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java b/api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java index f1979d491..dcb44f7ff 100644 --- a/api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java +++ b/api/src/main/java/com/velocitypowered/api/proxy/server/ServerPing.java @@ -133,8 +133,9 @@ public final class ServerPing { /** * Returns a copy of this {@link ServerPing} instance as a builder so that it can be modified. - * It is guaranteed that {@code ping.asBuilder().ping().equals(ping)}: that is, if no other - * changes are made to the returned builder, the built instance will equal the original instance. + * It is guaranteed that {@code ping.asBuilder().build().equals(ping)} is true: that is, if no + * other changes are made to the returned builder, the built instance will equal the original + * instance. * * @return a copy of this instance as a {@link Builder} */