3
0
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:
Andrew Steinborn 2020-08-24 14:13:46 -04:00
Ursprung 6cc173d337
Commit 10a14af2ea

Datei anzeigen

@ -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;