internal static PlayerData Find(BasePlayer player) { PlayerData data = LoadedPlayerData.ToList().Find((p) => p.id == player.userID); return(data); }
internal static PlayerData Find(ulong playerId) { PlayerData data = LoadedPlayerData.ToList().Find((p) => p.id == playerId); return(data); }