SPIGOT-6222: Correct javadoc for Entity#setPassenger

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2020-11-06 19:12:54 +11:00
parent 8079a5520c
commit 17cdd54b67

View File

@ -271,7 +271,7 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
* @param passenger The new passenger.
* @return false if it could not be done for whatever reason
* @deprecated entities may have multiple passengers, use
* {@link #getPassengers()}
* {@link #addPassenger(org.bukkit.entity.Entity)}
*/
@Deprecated
public boolean setPassenger(@NotNull Entity passenger);