Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Include success message too
Dieser Commit ist enthalten in:
Ursprung
6cc173d337
Commit
10a14af2ea
@ -617,6 +617,10 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
|||||||
handleConnectionException(res.getServer(), Disconnect.create(reason,
|
handleConnectionException(res.getServer(), Disconnect.create(reason,
|
||||||
getProtocolVersion()), ((Impl) status).isSafe());
|
getProtocolVersion()), ((Impl) status).isSafe());
|
||||||
break;
|
break;
|
||||||
|
case SUCCESS:
|
||||||
|
sendMessage(server.getConfiguration().getMessages()
|
||||||
|
.getMovedToNewServerPrefix().append(friendlyReason));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
// The only remaining value is successful (no need to do anything!)
|
// The only remaining value is successful (no need to do anything!)
|
||||||
break;
|
break;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren