Whitelist fix

This commit is contained in:
William Burns 2015-07-27 22:18:41 +01:00
parent 76e5d3d562
commit 8385c8a7c7

View File

@ -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())