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

Entities flip-flopped in EntityMountEvent and EntityDismountEvent

XMLWordPrintable

      The passenger/vehicle entities have been switched for both the EntityMountEvent and EntityDismountEvent.

      For the EntityMountEvent:

      • event.getEntity() returns the 'vehicle'
      • event.getMount() returns the entity that is mounting the 'vehicle'

      For the EntityDisountEvent:

      • event.getEntity() returns the 'vehicle'
      • event.getDismounted() returns the entity that was riding on the 'vehicle'

      In 1.8, these were reversed.

            Unassigned Unassigned
            iPyronic iPyronic
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: