Update Packet.cs

Fixed the compiling error