Hair wasn't working for me. I am just using some portrait packs that claimed they worked with the randomportrait mod.
I updated my portrait.gd file with this:
hairColors = []
# TODO: Build this list of possible hair colors dynamically?
# Note: This list doubles as fur color for beastkin/halfkin as they have no hair color set.
for color in ['Auburn', 'Black', 'Black_Gray', 'Black_White', 'Blond', 'Blue', 'Brown', 'Gray', 'Green', 'Jelly', 'Orange', 'Orange_White', 'Purple', 'Red', 'White']:
filterRegex.compile(color.replace(' ','') + "(?!skin)")
if filterRegex.search(file):
hairColors.append(color.to_lower())
Seemed to fix the issue.
Thanks guys!