Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2025-01-12 08:01:13 +01:00
fix a typo
Dieser Commit ist enthalten in:
Ursprung
69ee655d74
Commit
b135148dfc
@ -46,6 +46,7 @@ public class MinecraftVarintFrameDecoder extends ByteToMessageDecoder {
|
|||||||
// skip any runs of 0x00 we might find
|
// skip any runs of 0x00 we might find
|
||||||
int packetStart = in.forEachByte(FIND_NON_NUL);
|
int packetStart = in.forEachByte(FIND_NON_NUL);
|
||||||
if (packetStart == -1) {
|
if (packetStart == -1) {
|
||||||
|
in.clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
in.readerIndex(packetStart);
|
in.readerIndex(packetStart);
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren