From 8a6e77689b4b1df41ee7d8a6a4a46fdea3b6d895 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Fri, 12 Jun 2020 07:26:25 -0400 Subject: [PATCH] Checkstyle strikes again --- .../proxy/connection/client/ConnectedPlayer.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java index c65af53e6..9078f1d15 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java @@ -289,6 +289,11 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player { } } + /** + * Disconnects the player from the proxy. + * @param reason the reason for disconnecting the player + * @param duringLogin whether the disconnect happened during login + */ public void disconnect0(Component reason, boolean duringLogin) { logger.info("{} has disconnected: {}", this, LegacyComponentSerializer.legacy().serialize(reason));