fix: modded(neoforge 1.20.1) address string handling

This commit is contained in:
Tamipes 2025-12-11 16:41:13 +01:00
parent 2eb9adc61a
commit 6c56b9e0e3
2 changed files with 37 additions and 18 deletions

View file

@ -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,