Fix so 0.0.0.0 doesn't get selected for DNS rotation.

This commit is contained in:
Jonathan Williams 2015-04-21 23:36:12 -05:00
parent d8ed866ada
commit a662c93a92

View File

@ -92,7 +92,7 @@ public class BungeeRotator
for (BungeeServer server : bungeeServers)
{
if (server.getPublicAddress().equalsIgnoreCase("127.0.0.1"))
if (server.getPublicAddress().equalsIgnoreCase("127.0.0.1") || server.getPublicAddress().equalsIgnoreCase("0.0.0.0"))
continue;
totalPlayers += server.getPlayerCount();