[SPIGOT-7162] Incorrect description for Entity#getVehicle javadoc Created: 30/Sep/22 Updated: 25/Dec/24 Resolved: 01/Oct/22 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | lokka30 | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | doc, docs, documentation, javadoc, javadocs, spigot |
Version: | The version is irrelevant. |
Guidelines Read: | Yes |
Description |
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'. |