Explorar o código

Merge pull request #9567 from CerikoSky/fix-9565

fix(launch): 修复主页加载后自定义 JVM 参数中的 & 被转义为 &
HerobrineXia hai 5 horas
pai
achega
a05a059194
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Plain Craft Launcher 2/Modules/ModMain.vb

+ 1 - 1
Plain Craft Launcher 2/Modules/ModMain.vb

@@ -818,7 +818,7 @@ NextFile:
     Public Function ArgumentReplace(Text As String, Optional EscapeHandler As Func(Of String, String) = Nothing, Optional ReplaceTime As Boolean = True) As String
         If Text Is Nothing OrElse Not Text.Contains("{") Then Return Text
         '预处理(注意,文件夹必须以 \ 结尾)
-        Static Replacer As Func(Of String, String) =
+        Dim Replacer As Func(Of String, String) =
         Function(s As String) As String
             If s Is Nothing Then Return ""
             If EscapeHandler Is Nothing Then Return s