mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-02-11 15:29:30 +08:00
Fix an issue with too short not breaking the loop
This commit is contained in:
parent
f27aa8e3ba
commit
46e92a069b
@ -49,6 +49,7 @@ public class MinecraftVarintFrameDecoder extends ByteToMessageDecoder {
|
||||
throw VARINT_BIG_CACHED;
|
||||
} else if (reader.result == DecodeResult.TOO_SHORT) {
|
||||
// No-op: we couldn't get a useful result.
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user