瀏覽代碼

Fixed incorrect target type being used

Eris 4 年之前
父節點
當前提交
a5fdabc92f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SongBrowserPlugin/UI/Browser/BeatSaberUIController.cs

+ 1 - 1
SongBrowserPlugin/UI/Browser/BeatSaberUIController.cs

@@ -179,7 +179,7 @@ namespace SongBrowser.DataAccess
             // search playlists
             if (levelCollection == null)
             {
-                IAnnotatedBeatmapLevelCollection[] _annotatedBeatmapLevelCollections = AnnotatedBeatmapLevelCollectionsViewController.GetField<IAnnotatedBeatmapLevelCollection[], AnnotatedBeatmapLevelCollectionsViewController>("_annotatedBeatmapLevelCollections");
+                IReadOnlyList<IAnnotatedBeatmapLevelCollection> _annotatedBeatmapLevelCollections = AnnotatedBeatmapLevelCollectionsViewController.GetField<IReadOnlyList<IAnnotatedBeatmapLevelCollection>, AnnotatedBeatmapLevelCollectionsViewController>("_annotatedBeatmapLevelCollections");
                 foreach (IAnnotatedBeatmapLevelCollection c in _annotatedBeatmapLevelCollections)
                 {
                     if (String.Equals(c.collectionName, levelCollectionName))