File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/io/mcdocker/launcher/launch Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1818
1919package io .mcdocker .launcher .launch ;
2020
21- import com .google .gson .GsonBuilder ;
2221import io .mcdocker .launcher .MCDocker ;
2322import io .mcdocker .launcher .auth .Account ;
2423import io .mcdocker .launcher .container .Container ;
3130
3231import java .io .File ;
3332import java .util .ArrayList ;
34- import java .util .Arrays ;
3533import java .util .List ;
3634import java .util .concurrent .CompletableFuture ;
3735import java .util .concurrent .atomic .AtomicReference ;
@@ -100,7 +98,7 @@ public CompletableFuture<Process> launch(Account account) {
10098 .replace ("${natives}" , nativesFolder + "/" + client .getManifest ().getName () + "/" )
10199 .replace ("${libraries}" , libraries )
102100 .replace ("${min_memory}" , "512" )
103- .replace ("${max_memory}" , container .getDockerfile ().getMemory (). toString ( ))
101+ .replace ("${max_memory}" , Integer . toString ( container .getDockerfile ().getMemory ()))
104102 .replace ("${main_class}" , client .getManifest ().getMainClass ())
105103 .replace ("${version_type}" , "MCDocker" );
106104
You can’t perform that action at this time.
0 commit comments