From dee50239be8fff566b3ca687bc70900b391a8164 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Wed, 16 Aug 2017 20:11:07 +0500 Subject: 2017-08-16 --- src/Network.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/Network.cpp') diff --git a/src/Network.cpp b/src/Network.cpp index e70cce9..789e650 100644 --- a/src/Network.cpp +++ b/src/Network.cpp @@ -75,11 +75,11 @@ std::shared_ptr Network::ParsePacketPlay(PacketNamePlayCB id) { case SpawnGlobalEntity: break; case SpawnMob: - break; + return std::make_shared(); case SpawnPainting: break; case SpawnPlayer: - break; + return std::make_shared(); case AnimationCB: break; case Statistics: @@ -143,11 +143,11 @@ std::shared_ptr Network::ParsePacketPlay(PacketNamePlayCB id) { case Map: break; case EntityRelativeMove: - break; + return std::make_shared(); case EntityLookAndRelativeMove: - break; + return std::make_shared(); case EntityLook: - break; + return std::make_shared(); case EntityCB: break; case VehicleMove: @@ -165,7 +165,7 @@ std::shared_ptr Network::ParsePacketPlay(PacketNamePlayCB id) { case UseBed: break; case DestroyEntities: - break; + return std::make_shared(); case RemoveEntityEffect: break; case ResourcePackSend: @@ -187,6 +187,7 @@ std::shared_ptr Network::ParsePacketPlay(PacketNamePlayCB id) { case AttachEntity: break; case EntityVelocity: + return std::make_shared(); break; case EntityEquipment: break; @@ -215,6 +216,7 @@ std::shared_ptr Network::ParsePacketPlay(PacketNamePlayCB id) { case CollectItem: break; case EntityTeleport: + return std::make_shared(); break; case EntityProperties: break; -- cgit v1.2.3