From 93724b7b3331d1de87446a681af432c7b8c9b530 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Mon, 14 Jun 2021 00:04:18 -0400 Subject: [PATCH] Do not emit errors for kicks from servers --- .../proxy/connection/client/ConnectedPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4ff218301..85c5b8c34 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 @@ -503,7 +503,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player { Component disconnectReason = GsonComponentSerializer.gson().deserialize(disconnect.getReason()); String plainTextReason = PASS_THRU_TRANSLATE.serialize(disconnectReason); if (connectedServer != null && connectedServer.getServerInfo().equals(server.getServerInfo())) { - logger.error("{}: kicked from server {}: {}", this, server.getServerInfo().getName(), + logger.info("{}: kicked from server {}: {}", this, server.getServerInfo().getName(), plainTextReason); handleConnectionException(server, disconnectReason, Component.text() .append(messages.getKickPrefix(server.getServerInfo().getName())