From 96c35a3bed52c0769c37093b2c86234fa3853b40 Mon Sep 17 00:00:00 2001 From: hadesanc1 Date: Mon, 13 Jan 2025 20:06:41 +0800 Subject: [PATCH] =?UTF-8?q?[mod=E5=89=8D=E7=BD=AE=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF]=E5=9C=A8=E6=9C=89?= =?UTF-8?q?=E5=89=8D=E7=BD=AE=E7=9A=84mod=E8=AF=A6=E6=83=85=E7=95=8C?= =?UTF-8?q?=E9=9D=A2,=E7=A6=BB=E5=BC=80=E5=86=8D=E5=9B=9E=E6=9D=A5,mod?= =?UTF-8?q?=E5=89=8D=E7=BD=AE=E6=98=BE=E7=A4=BA=E5=A2=9E=E5=8A=A0=20Fixes?= =?UTF-8?q?=20#5248?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plain Craft Launcher 2/Modules/Minecraft/ModComp.vb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Plain Craft Launcher 2/Modules/Minecraft/ModComp.vb b/Plain Craft Launcher 2/Modules/Minecraft/ModComp.vb index 36cc7ee..9785c47 100644 --- a/Plain Craft Launcher 2/Modules/Minecraft/ModComp.vb +++ b/Plain Craft Launcher 2/Modules/Minecraft/ModComp.vb @@ -1481,7 +1481,9 @@ Retry: If Deps.Any Then For Each DepProject In Deps.Where(Function(id) CompProjectCache.ContainsKey(id)).Select(Function(id) CompProjectCache(id)) For Each File In CompFilesCache(ProjectId) - If File.RawDependencies.Contains(DepProject.Id) AndAlso DepProject.Id <> ProjectId Then + If File.RawDependencies.Contains(DepProject.Id) AndAlso + DepProject.Id <> ProjectId AndAlso + Not File.Dependencies.Contains(DepProject.Id) Then File.Dependencies.Add(DepProject.Id) End If Next