fix: modded(neoforge 1.20.1) address string handling
This commit is contained in:
parent
2eb9adc61a
commit
6c56b9e0e3
2 changed files with 37 additions and 18 deletions
|
|
@ -83,7 +83,7 @@ pub struct McApi {
|
|||
}
|
||||
|
||||
impl MinecraftAPI<Server> for McApi {
|
||||
#[tracing::instrument(name = "MinecraftAPI::query_server", level = "info", skip(self))]
|
||||
#[tracing::instrument(name = "MinecraftAPI::query_server", level = "info", skip(self, addr))]
|
||||
async fn query_server(&self, addr: &str) -> Result<Server, OpaqueError> {
|
||||
let dep_name = match self.cache.query_dep_addr(&addr).await {
|
||||
Some(x) => x,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue