- Fixed MPS Whitelist

This commit is contained in:
AlexTheCoder 2015-11-02 22:08:02 -05:00
parent 57da1d195a
commit 89c9f19c69

View File

@ -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;
}