13
0
geforkt von Mirrors/Velocity

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;