Sponge icon indicating copy to clipboard operation
Sponge copied to clipboard

Passengers aren't teleported along with entity when using setPosition or setLocation

Open masagameplay opened this issue 4 years ago • 1 comments

I am currently running

  • SpongeVanilla version: 1.16.5-8.0.0-RC819
  • Java version: 11.0.11
  • Operating System: Windows 10

Plugins/Mods:

  • Test plugin that adds passengers to entity and then teleports them

Issue Description Setting entity's location with setPosition or setLocation does not move entity's passengers with it.

masagameplay avatar Jul 31 '21 18:07 masagameplay

It seems like it this issue is almost fixed. Now I am being teleported alongside with the ArmorStand but it is very laggy and I can't move my cursor properly if I use Sponge's Entity#setPosition instead of NMS's moveTo(double, double, double). A gist for debugging.

Couple gifs: https://imgur.com/a/yLkiWD5

EDIT: It seems like it is not working anymore at all?

masagameplay avatar Aug 26 '21 11:08 masagameplay