Sets the entity's passenger. The vehicle of the passenger is set automatically.
Player player = "steve".player; Boat boat = world.spawn!Boat; boat.passenger = player; assert(player.vehicle == boat);
See Implementation
Sets the entity's passenger. The vehicle of the passenger is set automatically.