mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-04-25 22:05:22 +00:00
Fix CharacterInfoMessage being bundled with OCDMs
This commit is contained in:
parent
6fbe35b15f
commit
9d3e468693
1 changed files with 3 additions and 3 deletions
|
|
@ -604,10 +604,10 @@ class MiddlewareActor(
|
||||||
|
|
||||||
if (packetsBundledByThemselves.exists { _(packet) }) {
|
if (packetsBundledByThemselves.exists { _(packet) }) {
|
||||||
if (length == packetLength) {
|
if (length == packetLength) {
|
||||||
length += MTU
|
length = Long.MaxValue
|
||||||
true //dequeue only packet
|
true // dequeue only packet
|
||||||
} else {
|
} else {
|
||||||
false //dequeue later
|
false // dequeue later
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Some packets may be larger than the MTU limit, in that case we dequeue anyway and split later
|
// Some packets may be larger than the MTU limit, in that case we dequeue anyway and split later
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue