int colonIndex = ip.indexOf(':');
int port = colonIndex == -1 ? 25565 : NumberConversions.toInt(ip.substring(colonIndex + 1));
if (colonIndex > -1)
ip = ip.substring(0, colonIndex);
ServerInfo serverInfo = connections.add(key.toLowerCase(), new InetSocketAddress(ip, port));
<BUG>Map<String, StringBundle> map = serverInfo.getValues();
</BUG>
for (String key2 : sec.getKeys(false))
{
if (!key2.equals("ip"))

int colonIndex = ip.indexOf(':');
int port = colonIndex == -1 ? 25565 : NumberConversions.toInt(ip.substring(colonIndex + 1));
if (colonIndex > -1)
ip = ip.substring(0, colonIndex);
ServerInfo serverInfo = connections.add(key.toLowerCase(), new InetSocketAddress(ip, port));
Map<StringBundle, StringBundle> map = serverInfo.getValues();
for (String key2 : sec.getKeys(false))
{
if (!key2.equals("ip"))
