From f2ae0fbaa9941932e7a466285c5e7cf3e79dee09 Mon Sep 17 00:00:00 2001 From: wyc-26 Date: Mon, 2 Jun 2025 12:20:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(PageDownloadCompDetail):=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=8E=9F=E7=89=88=E5=8F=AF=E7=94=A8=E7=9A=84=E5=85=89?= =?UTF-8?q?=E5=BD=B1=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA=E5=8F=AF=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E7=9A=84=E6=B8=B8=E6=88=8F=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb b/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb index 60a8ad3..1b03346 100644 --- a/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb +++ b/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb @@ -75,6 +75,8 @@ Dim Results As List(Of CompFile) = CompFileLoader.Output If PageType = CompType.Any Then Results = Results.Where(Function(r) r.Type <> CompType.Plugin).ToList + ElseIf PageType = CompType.Shader Then + Results = Results.ToList Else Results = Results.Where(Function(r) r.Type = PageType).ToList End If From da8a50abd3878402f8f39f659e3f775b6f3a2e49 Mon Sep 17 00:00:00 2001 From: wyc-26 Date: Wed, 4 Jun 2025 21:06:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(PageDownloadCompDetail):=20=E7=BB=99?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=8C=85=E4=B9=9F=E5=8A=A0=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb b/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb index 1b03346..ea5c4c0 100644 --- a/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb +++ b/Plain Craft Launcher 2/Pages/PageDownload/Comp/PageDownloadCompDetail.xaml.vb @@ -75,7 +75,7 @@ Dim Results As List(Of CompFile) = CompFileLoader.Output If PageType = CompType.Any Then Results = Results.Where(Function(r) r.Type <> CompType.Plugin).ToList - ElseIf PageType = CompType.Shader Then + ElseIf PageType = CompType.Shader OrElse PageType = CompType.ResourcePack Then Results = Results.ToList Else Results = Results.Where(Function(r) r.Type = PageType).ToList