Plugin for Minecraft JE servers that fixes MC-148993 by sending a Teleport Entity packet to players who:
- moves between chunks (this will cause the server to send Set Center Chunk packet) and
- spectates another entity, i.e. can't control camera view
If the player's camera is attached to another entity, we can invisibly teleport the player's "body" to the location of that entity. Since the game renders chunks depending on the location of the player's "body", not the camera view, this fixes the mentioned bug.
- Requires https://www.spigotmc.org/resources/protocollib.1997/
- Tested only on Paper 1.18.2, but I think that it should work on 1.19+ too.