EntityMountEvent (entities returned inverted)

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: 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.

            Assignee:
            Parker Hawke
            Reporter:
            Ssomar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: