private static void Prefix(LevelCollectionTableView tableView, IPreviewBeatmapLevel level) { if (level is CustomPreviewBeatmapLevel customLevel) { Collections.AddSong(Hashing.GetCustomLevelHash(customLevel), customLevel.customLevelPath); Collections.SaveExtraSongData(); } }