The mysterious concoction given to the referee here is probably pickle juice.
Pickle juice relieves muscle cramps rapidly, often in under two minutes, not by rehydrating the body or restoring electrolytes, but through a reflex in the throat. The acetic acid in the vinegar triggers sensory receptors that send a signal to the nervous system, forcing overactive, cramping muscles to relax.