diff options
Diffstat (limited to 'minecraft-protocol/src/resolver.rs')
| -rw-r--r-- | minecraft-protocol/src/resolver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minecraft-protocol/src/resolver.rs b/minecraft-protocol/src/resolver.rs index 5dc6df8b..b751e05f 100644 --- a/minecraft-protocol/src/resolver.rs +++ b/minecraft-protocol/src/resolver.rs @@ -14,7 +14,7 @@ pub async fn resolve_address(address: &ServerAddress) -> Result<ServerIpAddress, // If the address.host is already in the format of an ip address, return it. if let Ok(ip) = address.host.parse::<IpAddr>() { return Ok(ServerIpAddress { - ip: ip, + ip, port: address.port, }); } |
