Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Fix repeating "you were kicked from X" message
Dieser Commit ist enthalten in:
Ursprung
211da180b3
Commit
d3e1b358fb
@ -639,10 +639,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
||||
case SUCCESS:
|
||||
Component requestedMessage = res.getMessageComponent();
|
||||
if (requestedMessage == null) {
|
||||
requestedMessage = Component.translatable("velocity.error.moved-to-new-server",
|
||||
NamedTextColor.RED,
|
||||
Component.text(originalEvent.getServer().getServerInfo().getName()),
|
||||
friendlyReason);
|
||||
requestedMessage = friendlyReason;
|
||||
}
|
||||
sendMessage(requestedMessage);
|
||||
break;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren