BlackBeltPanda / Transport-Pipes

Buildcraft without mods! This is a fork of the original Transport-Pipes plugin featuring support for newer versions of Spigot, many bug fixes, performance improvements, and end-user enhancements.
https://www.spigotmc.org/resources/transport-pipes.20873/
MIT License
39 stars 10 forks source link

Sends EntityEquipment packet synchronously (Fixes #31) #34

Closed luizsusin closed 1 year ago

luizsusin commented 1 year ago

Fixes https://github.com/BlackBeltPanda/Transport-Pipes/issues/31

After facing this issue for a while, I started studying Transport Pipes and trying to understand how this issue happened.

Using spectator mode, I was able to see that the armorstands were still there, but with no item to be shown. This desync might be caused because of high MSPT peaks that stands for a while.

This has been tested on 1.19.3 (Purpur b1888) in production for three days with high MSPT peaks and over 60 players. I haven't faced this issue anymore. Hope everyone who was facing it can also see improvements.

Sending it synchronously also didn't impact performance at all.