9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-23 17:09:22 +00:00
Commit Graph

1 Commits

Author SHA1 Message Date
MrPowerGamerBR
dcdb966994 Only attempt to resync display entities' position when it has actually changed to fix teleport interpolation issues
On display entities, any new Pos/Rot packet causes the teleport duration interpolation to reset

While this does not cause issues when you spawn a display entity -> set the interpolation -> teleport after the data has been sent to the client, this DOES cause issues on entities that have lived for >60 ticks, where if you spawn a display with interpolation -> wait ~8 ticks -> teleport it, the end of the teleport will look slow due to the server resyncing the display entity position/rotation
2024-12-01 01:24:33 -03:00