Error while compiling BGrade: 'Pool' does not contain a definition for 'GetList' | Line: 575, Pos: 52
Err after Update
replace the contents with
private void OnPlayerConnected(BasePlayer player)
{
BGradePlayer bgradePlayer;
if (!BGradePlayer.Players.TryGetValue(player, out bgradePlayer))
{
bgradePlayer = player.gameObject.AddComponent<BGradePlayer>();
}
bgradePlayer.SetGrade(AutoGradeOnJoinValue);
int time = bgradePlayer.GetTime();
var chatMsgs = new List<string>();
chatMsgs.Add("Notice.SetGrade".Lang(player.UserIDString, AutoGradeOnJoinValue));
chatMsgs.Add("Notice.Connected".Lang(player.UserIDString));
if (AllowTimer && time > 0)
{
chatMsgs.Add("Notice.Time".Lang(player.UserIDString, time));
}
player.ChatMessage(string.Join("\n", chatMsgs.ToArray()));
}