feat: add some botched old address support
This commit is contained in:
parent
1d9d205d8c
commit
2eb9adc61a
3 changed files with 21 additions and 5 deletions
|
|
@ -124,7 +124,7 @@ pub trait MinecraftServerHandle: Clone {
|
|||
}
|
||||
|
||||
pub trait MinecraftAPI<T> {
|
||||
async fn query_server(&self, addr: String) -> Result<T, OpaqueError>;
|
||||
async fn query_server(&self, addr: &str) -> Result<T, OpaqueError>;
|
||||
async fn start_watch(
|
||||
self,
|
||||
server: impl MinecraftServerHandle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue