Update packetid.go

This commit is contained in:
Tnze
2021-12-10 19:53:42 +08:00
parent 40151f803b
commit ef1fabe9c5
3 changed files with 16 additions and 10 deletions

View File

@ -40,7 +40,7 @@ func (s *Server) acceptListPing(conn *net.Conn) {
break
}
err = conn.WritePacket(pk.Marshal(0x00, pk.String(resp)))
case packetid.StatusPong: //Ping
case packetid.StatusPongResponse: //Ping
err = conn.WritePacket(p)
}
if err != nil {