3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-27 08:30:12 +01:00
Dieser Commit ist enthalten in:
Camotoy 2023-05-02 13:21:17 -04:00
Ursprung f457d953fc
Commit 5e5d5f3e43
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -478,7 +478,6 @@ public final class ProxyProtocolDecoder {
* @param buffer the {@link ByteBuf} from which to read data * @param buffer the {@link ByteBuf} from which to read data
* @return frame the {@link ByteBuf} which represent the frame or {@code null} if no frame could * @return frame the {@link ByteBuf} which represent the frame or {@code null} if no frame could
* be created * be created
* @throws Exception if exceed maxLength
*/ */
public ByteBuf extract(ByteBuf buffer) { public ByteBuf extract(ByteBuf buffer) {
final int eoh = findEndOfHeader(buffer); final int eoh = findEndOfHeader(buffer);