SPIGOT-7162: Incorrect description for Entity#getVehicle javadoc

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2022-10-02 09:14:33 +11:00
parent 385b26cb81
commit 90bc66e868

View File

@ -491,7 +491,7 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
public boolean leaveVehicle();
/**
* Get the vehicle that this player is inside. If there is no vehicle,
* Get the vehicle that this entity is inside. If there is no vehicle,
* null will be returned.
*
* @return The current vehicle.