We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 198013d commit f61cc46Copy full SHA for f61cc46
src/handlers/login_start.rs
@@ -14,12 +14,9 @@ impl MinecraftServer {
14
&& self.session.proto_ver <= 760
15
&& !self.config.server.support_1_19
16
{
17
- self.send_disconnect(
18
- "§cSorry, Minecraft 1.19-1.19.2 clients not supported yet.\nTry using another version of client."
19
- .to_string(),
20
- )
21
- .await?;
22
- return Err(Error::msg("Client using unsupported version!"));
+ self.send_disconnect(self.config.messages.unsupported_client_version.clone())
+ .await?;
+ return Err(Error::msg("Client using unsupported version (1.19)!"));
23
}
24
Ok(())
25
0 commit comments