mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Server ping: Attempt 1.7+ ping first (#1507)
Forge detection might not work otherwise
This commit is contained in:
parent
fd7a84bc91
commit
49603db657
1 changed files with 2 additions and 2 deletions
|
|
@ -85,8 +85,8 @@ namespace MinecraftClient.Protocol
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (Protocol16Handler.doPing(serverIP, serverPort, ref protocolversionTmp)
|
if (Protocol18Handler.doPing(serverIP, serverPort, ref protocolversionTmp, ref forgeInfoTmp)
|
||||||
|| Protocol18Handler.doPing(serverIP, serverPort, ref protocolversionTmp, ref forgeInfoTmp))
|
|| Protocol16Handler.doPing(serverIP, serverPort, ref protocolversionTmp))
|
||||||
{
|
{
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue