mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Missed ushort in protocol handler
This commit is contained in:
parent
284d335b2a
commit
006a1a5f4b
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ namespace MinecraftClient.Protocol
|
||||||
/// <param name="protocolversion">Will contain protocol version, if ping successful</param>
|
/// <param name="protocolversion">Will contain protocol version, if ping successful</param>
|
||||||
/// <returns>TRUE if ping was successful</returns>
|
/// <returns>TRUE if ping was successful</returns>
|
||||||
|
|
||||||
public static bool GetServerInfo(string serverIP, short serverPort, ref int protocolversion)
|
public static bool GetServerInfo(string serverIP, ushort serverPort, ref int protocolversion)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue