From 91f9e11b360483c36c0f27d15017521a6f51e087 Mon Sep 17 00:00:00 2001 From: Yaroslavik Date: Fri, 26 Oct 2018 14:39:20 +0200 Subject: [PATCH] RAM Fix (#40) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ранее ползунок установки RAM ничего не изменял. --- .../main/java/ru/gravit/launcher/client/LauncherSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()