diff options
Diffstat (limited to '')
-rw-r--r-- | src/Network.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Network.cpp b/src/Network.cpp index 62ad1f9..e70cce9 100644 --- a/src/Network.cpp +++ b/src/Network.cpp @@ -68,6 +68,7 @@ std::shared_ptr<Packet> Network::ReceivePacketByPacketId(int packetId, Connectio std::shared_ptr<Packet> Network::ParsePacketPlay(PacketNamePlayCB id) { switch (id) { case SpawnObject: + return std::make_shared<PacketSpawnObject>(); break; case SpawnExperienceOrb: break; @@ -147,7 +148,7 @@ std::shared_ptr<Packet> Network::ParsePacketPlay(PacketNamePlayCB id) { break; case EntityLook: break; - case Entity: + case EntityCB: break; case VehicleMove: break; |