Added PlayerWarning class