Add getBoundAddress() for NuVotifier

This commit is contained in:
Andrew Steinborn
2018-09-02 16:34:25 -04:00
parent 3791283860
commit ff0f83b375
2 changed files with 14 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ import net.kyori.text.serializer.GsonComponentSerializer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.net.InetSocketAddress;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
@@ -306,4 +307,9 @@ public class VelocityServer implements ProxyServer {
public VelocityChannelRegistrar getChannelRegistrar() {
return channelRegistrar;
}
@Override
public InetSocketAddress getBoundAddress() {
return configuration.getBind();
}
}