From 7f794b3dd1700bc4eb3781d13547b5df099f2f3b Mon Sep 17 00:00:00 2001
From: Yaroslavik <yaroslav4167@mail.ru>
Date: Fri, 26 Oct 2018 02:06:57 +0200
Subject: [PATCH] RAM Fix
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()