Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 06:50:09 +01:00
Inline lambda
Dieser Commit ist enthalten in:
Ursprung
c9acfecd9d
Commit
276a6bd00d
@ -155,9 +155,7 @@ public final class LocalSession extends TcpSession {
|
|||||||
HAProxyProtocolVersion.V2, HAProxyCommand.PROXY, proxiedProtocol,
|
HAProxyProtocolVersion.V2, HAProxyCommand.PROXY, proxiedProtocol,
|
||||||
clientAddress.getAddress().getHostAddress(), remoteAddress.getAddress().getHostAddress(),
|
clientAddress.getAddress().getHostAddress(), remoteAddress.getAddress().getHostAddress(),
|
||||||
clientAddress.getPort(), remoteAddress.getPort()
|
clientAddress.getPort(), remoteAddress.getPort()
|
||||||
)).addListener(future -> {
|
)).addListener(future -> channel.pipeline().remove("proxy-protocol-encoder"));
|
||||||
channel.pipeline().remove("proxy-protocol-encoder");
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren