Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Fix try list giving up after the first server (for 1.0.x).
Dieser Commit ist enthalten in:
Ursprung
79b16a21f6
Commit
b85f919238
@ -448,9 +448,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
|
||||
createConnectionRequest(res.getServer())
|
||||
.connectWithIndication()
|
||||
.whenCompleteAsync((newResult, exception) -> {
|
||||
if (newResult == null || !newResult) {
|
||||
disconnect(friendlyReason);
|
||||
} else {
|
||||
if (newResult != null && newResult) {
|
||||
sendMessage(VelocityMessages.MOVED_TO_NEW_SERVER);
|
||||
}
|
||||
}, minecraftConnection.eventLoop());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren