File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,25 @@ namespace CmlLib.Core
6
6
{
7
7
public class MLaunchOption
8
8
{
9
+ public MLaunchOption ( )
10
+ {
11
+ if ( MRule . Arch == "64" )
12
+ {
13
+ MaximumRamMb = 2048 ;
14
+ }
15
+ else
16
+ {
17
+ MaximumRamMb = 1024 ;
18
+ }
19
+ }
20
+
9
21
public MinecraftPath ? Path { get ; set ; }
10
22
public MVersion ? StartVersion { get ; set ; }
11
23
public MSession ? Session { get ; set ; }
12
24
13
25
public string ? JavaVersion { get ; set ; }
14
26
public string ? JavaPath { get ; set ; }
15
- public int MaximumRamMb { get ; set ; } = 1024 ;
27
+ public int MaximumRamMb { get ; set ; }
16
28
public int MinimumRamMb { get ; set ; }
17
29
public string [ ] ? JVMArguments { get ; set ; }
18
30
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ void Start(MSession session)
65
65
66
66
var launchOption = new MLaunchOption
67
67
{
68
- MaximumRamMb = 1024 ,
69
68
Session = session ,
70
-
69
+
70
+ //MaximumRamMb = 2048,
71
71
//ScreenWidth = 1600,
72
72
//ScreenHeight = 900,
73
73
//ServerIp = "mc.hypixel.net",
You can’t perform that action at this time.
0 commit comments