Skip to content

Commit 1ecff91

Browse files
committed
*
1 parent 085af16 commit 1ecff91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Plain Craft Launcher 2/Modules/ModSecret.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Friend Module ModSecret
6363
End Function
6464

6565
Friend Sub SecretLaunchJvmArgs(ByRef DataList As List(Of String))
66-
Dim DataJvmCustom As String = Setup.Get("VersionAdvanceJvm", Version:=McInstanceSelected)
66+
Dim DataJvmCustom As String = Setup.Get("VersionAdvanceJvm", Instance:=McInstanceSelected)
6767
DataList.Insert(0, ArgumentReplace(If(DataJvmCustom = "", Setup.Get("LaunchAdvanceJvm"), DataJvmCustom))) '可变 JVM 参数
6868
McLaunchLog("当前剩余内存:" & Math.Round(My.Computer.Info.AvailablePhysicalMemory / 1024 / 1024 / 1024 * 10) / 10 & "G")
6969
DataList.Add("-Xmn" & Math.Floor(PageInstanceSetup.GetRam(McInstanceSelected) * 1024 * 0.15) & "m")

0 commit comments

Comments
 (0)