From a1d7fdb2d4b5efb6ad97565ab16192524edb1f84 Mon Sep 17 00:00:00 2001 From: Ghostlyr Date: Tue, 27 Nov 2018 22:03:19 +0600 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=BE=D0=BD=D0=B5=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B8=D0=BC?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=B1=D0=B5=D0=BB=D1=8B=D0=B9=20=D1=81=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/ru/gravit/launcher/profiles/ClientProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libLauncher/src/main/java/ru/gravit/launcher/profiles/ClientProfile.java b/libLauncher/src/main/java/ru/gravit/launcher/profiles/ClientProfile.java index 6c7d38f7..4342d62d 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/profiles/ClientProfile.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/profiles/ClientProfile.java @@ -279,7 +279,7 @@ public boolean isUpdateFastCheck() { @LauncherAPI public boolean isWhitelistContains(String username) { if (!useWhitelist.getValue()) return true; - return whitelist.stream(StringConfigEntry.class).anyMatch(e -> e.equals(username)); + return whitelist.stream(StringConfigEntry.class).anyMatch(e -> e.equalsIgnoreCase(username)); } @LauncherAPI