mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 11:06:06 -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 );
|
game.LocalPlayer.ParseHackFlags( ServerName, ServerMotd );
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandlePing() { }
|
void HandlePing() {
|
||||||
|
writer.WriteUInt8( (byte)PacketId.Ping );
|
||||||
|
SendPacket();
|
||||||
|
}
|
||||||
|
|
||||||
void HandleLevelInit() {
|
void HandleLevelInit() {
|
||||||
if( gzipStream != null )
|
if( gzipStream != null )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user