mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-27 21:10:54 +00:00
Deprecate getServer() in DispatchServer, use getHttpServer() instead
This commit is contained in:
parent
691324c9e7
commit
07b4dc95ea
@ -58,6 +58,10 @@ public final class DispatchServer {
|
|||||||
public HttpServer getServer() {
|
public HttpServer getServer() {
|
||||||
return server;
|
return server;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public HttpServer getHttpServer() {
|
||||||
|
return server;
|
||||||
|
}
|
||||||
|
|
||||||
public InetSocketAddress getAddress() {
|
public InetSocketAddress getAddress() {
|
||||||
return address;
|
return address;
|
||||||
|
Loading…
Reference in New Issue
Block a user