From c2580809e02792863b72f674f3086fa01ccd26fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E8=BD=BB=E8=AF=AD?= Date: Sun, 17 May 2026 04:34:24 +0800 Subject: [PATCH] fix: incorrect code --- Plain Craft Launcher 2/Application.xaml.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plain Craft Launcher 2/Application.xaml.vb b/Plain Craft Launcher 2/Application.xaml.vb index e5d352b..f3c55ba 100644 --- a/Plain Craft Launcher 2/Application.xaml.vb +++ b/Plain Craft Launcher 2/Application.xaml.vb @@ -204,7 +204,7 @@ RetryCacheCheck: Dim Pid As Integer If Not Integer.TryParse(File.ReadAllText(LockPath), Pid) Then Return Dim Handle = Process.GetProcessById(Pid)?.MainWindowHandle - If Handle <> Intptr.Zero ShowWindowToTop(Handle) + If Handle <> Intptr.Zero Then ShowWindowToTop(Handle) End Sub '结束