Bug fix for player.setcolor crashes