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

EntityMountEvent (entities returned inverted)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • 3831-Spigot-0ca4eb6-a94277a (MC: 1.20.1)
    • Yes

      Hello, I don't know when but recently a change was made and inverted the entities returned in the method of the event EntutyMountEvent. (org.spigotmc.event.entity.EntityMountEvent)

       

      Normally when a PLAYER mounts on a PIG

       

      getEntity() return the PLAYER

      getMount() return the PIG

       

      but currently its

       

      getEntity() return the PIG

      getMount() return the PLAYER

       

      Is possible to fix that please so we can keep the consistency between all versions.

      Thank you in advance.

            2008Choco Parker Hawke
            Ssomar Ssomar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: