Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Do not emit errors for kicks from servers
Dieser Commit ist enthalten in:
Ursprung
2184e72e98
Commit
7b3de6f9ea
@ -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,
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren