diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherSettings.java b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherSettings.java index 14bd2496..69fd5e6e 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/LauncherSettings.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/LauncherSettings.java @@ -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()