fix: fuck Forge
This commit is contained in:
parent
4bc14d3b3f
commit
56467cd945
1 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,9 @@ impl Handshake {
|
|||
Ok(())
|
||||
}
|
||||
fn normalized_address(&self) -> String {
|
||||
if let Some(fml2_stripped) = self.server_address.strip_suffix("\0FML2\0") {
|
||||
if let Some(fml3_stripped) = self.server_address.strip_suffix("\0FML3\0") {
|
||||
fml3_stripped.to_lowercase()
|
||||
} else if let Some(fml2_stripped) = self.server_address.strip_suffix("\0FML2\0") {
|
||||
fml2_stripped.to_lowercase()
|
||||
} else if let Some(fml_stripped) = self.server_address.strip_suffix("\0FML\0") {
|
||||
fml_stripped.to_lowercase()
|
||||
|
|
Loading…
Reference in a new issue