geforkt von Mirrors/Velocity
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:
|
case SUCCESS:
|
||||||
Component requestedMessage = res.getMessageComponent();
|
Component requestedMessage = res.getMessageComponent();
|
||||||
if (requestedMessage == null) {
|
if (requestedMessage == null) {
|
||||||
requestedMessage = Component.translatable("velocity.error.moved-to-new-server",
|
requestedMessage = friendlyReason;
|
||||||
NamedTextColor.RED,
|
|
||||||
Component.text(originalEvent.getServer().getServerInfo().getName()),
|
|
||||||
friendlyReason);
|
|
||||||
}
|
}
|
||||||
sendMessage(requestedMessage);
|
sendMessage(requestedMessage);
|
||||||
break;
|
break;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren