mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
SPIGOT-6222: Correct javadoc for Entity#setPassenger
By: md_5 <git@md-5.net>
This commit is contained in:
parent
8079a5520c
commit
17cdd54b67
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user