Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3770

PlayerMoveEvent not working for yaw/pitch movement when riding vehicle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None

      When you are riding a vehicle (in the example provided an armor stand) the playermoveevent is not called when moving the head.

      The PacketPlayInVehicleMove contains the yaw/pitch, and it visually also clear that this packet is send (you can see another player move his head when it is riding something)

      After more debugging it seemed like the normal look packet was being send:
      http://i.mvdw-software.com/2018-01-19_19-55-34.png  

      however the playermoveevent is not fired because it is intercepted by "isPassenger" http://i.mvdw-software.com/2018-01-19_20-00-53.png
      Presumably because it is/was being fired in the PacketPlayInVehicleMove (however it is most def. not the case for armor stands)

            Unassigned Unassigned
            Maximvdw Maxim Van de Wynckel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: