Fixed an error in PlayerUtil.