Fix so 0.0.0.0 doesn't get selected for DNS rotation.
This commit is contained in:
parent
d8ed866ada
commit
a662c93a92
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user