Whitelist fix
This commit is contained in:
parent
76e5d3d562
commit
8385c8a7c7
@ -488,7 +488,7 @@ public class GameHostManager implements Listener
|
|||||||
if (_host == null || !event.getPlayer().equals(_host))
|
if (_host == null || !event.getPlayer().equals(_host))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!event.getMessage().toLowerCase().startsWith("/whitelist "))
|
if (!event.getMessage().toLowerCase().startsWith("/whitelist"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!isPrivateServer())
|
if (!isPrivateServer())
|
||||||
|
Loading…
Reference in New Issue
Block a user