Resolve #169, use PlayerState instead of (int)