Fix Bungee lobby balancer code.
This commit is contained in:
parent
8838ea75e4
commit
fd3ccf7ce0
@ -81,7 +81,7 @@ public class LobbyBalancer implements Listener, Runnable
|
||||
InetSocketAddress socketAddress = new InetSocketAddress(server.getPublicAddress(), server.getPort());
|
||||
_plugin.getProxy().getServers().put(server.getName(), _plugin.getProxy().constructServerInfo(server.getName(), socketAddress, "LobbyBalancer", false));
|
||||
|
||||
if (server.getName().toUpperCase().contains("LOBBY"))
|
||||
if (server.getName().toUpperCase().startsWith("LOBBY"))
|
||||
{
|
||||
if (server.getMotd() == null || !server.getMotd().contains("Restarting"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user