When Pirates had to fight on board of a ship and in bright daylight and then had to quickly move into the dark under deck, the eyes would take some seconds to adapt and they would be highly vulnerable in this time. Therefore, pirates wore an eye patch to cover the eye which is dedicated to the dark inside the ship.