Sleepium 1.2.4 for 1.20.1 (Forge)
Curse Maven Snippet
What's new
A fix for servers with Krypton.
- Fix: players were disconnected from a server with Krypton ("sleep coalesce: a frame cut inside a container", since 1.2.3; GitHub issue #7). Krypton writes a packet's length and its body separately; Sleepium's packet batching on the server could close a batch between them, and the 1.2.3 client found the packet cut in two. The server now closes a batch only between whole packets, and the client keeps a cut packet until its rest arrives - so a 1.2.4 client also plays on a 1.2.3 server with Krypton. Checked with Krypton FNP on 1.21.1, both sides, old and new versions mixed. (1.20.1 with Krypton Reno was not affected - it writes a packet in one piece - and works the same.)
- If you cannot update the server yet:
lab.opt.NetCoalesce=falsein itsconfig/sleepium.propertiesturns off only the packet batching.
This mod has no additional files