diff options
Diffstat (limited to 'src/Network.cpp')
-rw-r--r-- | src/Network.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Network.cpp b/src/Network.cpp index 789e650..4ab85d3 100644 --- a/src/Network.cpp +++ b/src/Network.cpp @@ -69,7 +69,6 @@ std::shared_ptr<Packet> Network::ParsePacketPlay(PacketNamePlayCB id) { switch (id) { case SpawnObject: return std::make_shared<PacketSpawnObject>(); - break; case SpawnExperienceOrb: break; case SpawnGlobalEntity: @@ -91,7 +90,7 @@ std::shared_ptr<Packet> Network::ParsePacketPlay(PacketNamePlayCB id) { case BlockAction: break; case BlockChange: - break; + return std::make_shared<PacketBlockChange>(); case BossBar: break; case ServerDifficulty: @@ -101,7 +100,7 @@ std::shared_ptr<Packet> Network::ParsePacketPlay(PacketNamePlayCB id) { case ChatMessageCB: break; case MultiBlockChange: - break; + return std::make_shared<PacketMultiBlockChange>(); case ConfirmTransactionCB: break; case CloseWindowCB: |