getPassenger

public abstract Entity getPassenger()

Gets the primary passenger of getClassById vehicle. For vehicles that could have multiple passengers, this will only return the primary passenger.

Return

an entity