geforkt von Mirrors/Velocity
Fix ForwardToPlayer subchannel, closes #406
Dieser Commit ist enthalten in:
Ursprung
7fe2fc71e9
Commit
b1f7980c5d
@ -250,8 +250,8 @@ public class BungeeCordMessageResponder {
|
|||||||
|
|
||||||
private void processForwardToPlayer(ByteBufDataInput in) {
|
private void processForwardToPlayer(ByteBufDataInput in) {
|
||||||
proxy.getPlayer(in.readUTF())
|
proxy.getPlayer(in.readUTF())
|
||||||
.flatMap(Player::getCurrentServer)
|
.ifPresent(foundPlayer -> sendServerResponse((ConnectedPlayer) foundPlayer,
|
||||||
.ifPresent(server -> sendServerResponse(player, prepareForwardMessage(in)));
|
prepareForwardMessage(in)));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processForwardToServer(ByteBufDataInput in) {
|
private void processForwardToServer(ByteBufDataInput in) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren