- Fixed MPS Whitelist
This commit is contained in:
parent
57da1d195a
commit
89c9f19c69
@ -208,8 +208,8 @@ public class GameHostManager implements Listener
|
|||||||
{
|
{
|
||||||
Player p = event.getPlayer();
|
Player p = event.getPlayer();
|
||||||
if (Manager.GetServerConfig().PlayerServerWhitelist){
|
if (Manager.GetServerConfig().PlayerServerWhitelist){
|
||||||
if (!getWhitelist().contains(p.getName())){
|
if (!getWhitelist().contains(p.getName().toLowerCase())){
|
||||||
if ((Manager.GetHost() != null) && (Manager.GetHost().equalsIgnoreCase(p.getName().toLowerCase())))
|
if ((Manager.GetHost() != null) && (Manager.GetHost().equalsIgnoreCase(p.getName())))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user