Checking if the vehicle is a boat or a minecart