From 89c9f19c69b3cbfa738c564acb71f0b06228d0ea Mon Sep 17 00:00:00 2001 From: AlexTheCoder Date: Mon, 2 Nov 2015 22:08:02 -0500 Subject: [PATCH] - Fixed MPS Whitelist --- .../src/nautilus/game/arcade/managers/GameHostManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameHostManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameHostManager.java index 12f8a9a3a..513f4182b 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameHostManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameHostManager.java @@ -208,8 +208,8 @@ public class GameHostManager implements Listener { Player p = event.getPlayer(); if (Manager.GetServerConfig().PlayerServerWhitelist){ - if (!getWhitelist().contains(p.getName())){ - if ((Manager.GetHost() != null) && (Manager.GetHost().equalsIgnoreCase(p.getName().toLowerCase()))) + if (!getWhitelist().contains(p.getName().toLowerCase())){ + if ((Manager.GetHost() != null) && (Manager.GetHost().equalsIgnoreCase(p.getName()))) { return; }