From 7b3de6f9ea4d8049183f7773e9d69222e186bc14 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 3bfe35743..bb67f9b0d 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 @@ -474,7 +474,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.serverInfo().equals(server.serverInfo())) { - logger.error("{}: kicked from server {}: {}", this, server.serverInfo().name(), + logger.info("{}: kicked from server {}: {}", this, server.serverInfo().name(), plainTextReason); handleConnectionException(server, disconnectReason, Component.translatable("velocity.error.moved-to-new-server", NamedTextColor.RED,