3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

Fix ForwardToPlayer subchannel, closes #406

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-12-26 19:49:28 -05:00
Ursprung 7fe2fc71e9
Commit b1f7980c5d

Datei anzeigen

@ -250,8 +250,8 @@ public class BungeeCordMessageResponder {
private void processForwardToPlayer(ByteBufDataInput in) {
proxy.getPlayer(in.readUTF())
.flatMap(Player::getCurrentServer)
.ifPresent(server -> sendServerResponse(player, prepareForwardMessage(in)));
.ifPresent(foundPlayer -> sendServerResponse((ConnectedPlayer) foundPlayer,
prepareForwardMessage(in)));
}
private void processForwardToServer(ByteBufDataInput in) {