In a game with more than one hand of the same color Player.getAvailableColors() can have repeats.
I’m not sure if this is a “bug” or not, I’m modifying a script that assumes they are unique to handle it. I have a save game if helpful.