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

Incorrect description for Entity#getVehicle javadoc

XMLWordPrintable

    • The version is irrelevant.
    • Yes

      The javadoc description of the Entity#getVehicle() says,

      Get the vehicle that this player is inside. If there is no vehicle, null will be returned.

      However, this is incorrect. The word 'player' should be replaced with the word 'entity'.

            Unassigned Unassigned
            lokka30 lokka30
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: