Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +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())
|
createConnectionRequest(res.getServer())
|
||||||
.connectWithIndication()
|
.connectWithIndication()
|
||||||
.whenCompleteAsync((newResult, exception) -> {
|
.whenCompleteAsync((newResult, exception) -> {
|
||||||
if (newResult == null || !newResult) {
|
if (newResult != null && newResult) {
|
||||||
disconnect(friendlyReason);
|
|
||||||
} else {
|
|
||||||
sendMessage(VelocityMessages.MOVED_TO_NEW_SERVER);
|
sendMessage(VelocityMessages.MOVED_TO_NEW_SERVER);
|
||||||
}
|
}
|
||||||
}, minecraftConnection.eventLoop());
|
}, minecraftConnection.eventLoop());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren