You may have noticed something about the dad's eyes in Black Panther. The actor, John Kani, lost his left eye many years ago and he is wearing what is called an "ocular prosthesis," what was formerly known as a "glass eye." Ocular prostheses are no longer made of glass and are not round marbles, so the fake eye rolling on the ground in Pirates of the Caribbean is not something that would ever happen today.
It is important for people with one working eye to wear protective eye wear at all times, called polycarbonate lenses.
Last fun fact: John Kani is the actual father of Atandwa Kani, who played the hero and his son in the movie.