13
0
geforkt von Mirrors/Velocity

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) {