Ранее ползунок установки RAM ничего не изменял.
This commit is contained in:
Yaroslavik 2018-10-26 02:06:57 +02:00 committed by GitHub
parent 65d36cf2e2
commit 7f794b3dd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,7 @@ public void write(HOutput output) throws IOException {
@LauncherAPI
public void setRAM(int ram)
{
ram = java.lang.Math.min(((ram / 256)) * 256, JVMHelper.RAM);
this.ram = java.lang.Math.min(((ram / 256)) * 256, JVMHelper.RAM);
}
@LauncherAPI
public void setDefault()