mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 18:45:23 -04:00
Send ping packet in reply. (Thanks 123DontMessWitMe)
This commit is contained in:
parent
c28e1f343f
commit
78e7c558e0
@ -79,7 +79,10 @@ namespace ClassicalSharp {
|
||||
game.LocalPlayer.ParseHackFlags( ServerName, ServerMotd );
|
||||
}
|
||||
|
||||
void HandlePing() { }
|
||||
void HandlePing() {
|
||||
writer.WriteUInt8( (byte)PacketId.Ping );
|
||||
SendPacket();
|
||||
}
|
||||
|
||||
void HandleLevelInit() {
|
||||
if( gzipStream != null )
|
||||
|
Loading…
x
Reference in New Issue
Block a user