fix: server_watcher don't use unwrap and use the external port quering the server
This commit is contained in:
parent
e67afc23df
commit
a58024c192
2 changed files with 18 additions and 3 deletions
|
|
@ -67,6 +67,7 @@ pub trait MinecraftServerHandle: Clone {
|
|||
async fn stop(&self) -> Result<(), OpaqueError>;
|
||||
async fn query_status(&self) -> Result<ServerDeploymentStatus, OpaqueError>;
|
||||
fn get_internal_address(&self) -> Option<String>;
|
||||
fn get_internal_port(&self) -> Option<String>;
|
||||
fn get_addr(&self) -> Option<String>;
|
||||
fn get_port(&self) -> Option<String>;
|
||||
fn get_motd(&self) -> Option<String>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue