Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-26 16:12:37 +01:00
6149fc3e78
Packet 51 is used to send updates about large changes to single chunks and to remove chunks from the client when they get out of range. In the first case a single packet object is created and queued for all relevant players. With our current chunk compression scheme this means the first player to have the packet processed will start the compression and get the packet correctly but the rest will get garbage. Since this packet never contains much data it is better to simply handle compression of it on the main thread like vanilla does instead of putting in locks and dealing with their overhead and complexity. |
||
---|---|---|
.. | ||
minecraft/server |