Before that , teams often wore full-brimmed straw hats or no cap at all since there was no official rule in baseball about whether players had to wear caps or not . Baseball teams often wore full-brimmed straw hats or no cap at all since there was no official rule regarding headgear .