summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Network.cpp4
-rw-r--r--src/NetworkClient.hpp4
2 files changed, 3 insertions, 5 deletions
diff --git a/src/Network.cpp b/src/Network.cpp
index 4280b50..4332c29 100644
--- a/src/Network.cpp
+++ b/src/Network.cpp
@@ -224,6 +224,8 @@ std::shared_ptr<Packet> Network::ParsePacketPlay(PacketNamePlayCB id) {
break;
case OpenSignEditor:
break;
+ case CraftRecipeResponse:
+ break;
case PlayerAbilitiesCB:
break;
case CombatEvent:
@@ -258,7 +260,6 @@ std::shared_ptr<Packet> Network::ParsePacketPlay(PacketNamePlayCB id) {
break;
case EntityVelocity:
return std::make_shared<PacketEntityVelocity>();
- break;
case EntityEquipment:
break;
case SetExperience:
@@ -287,7 +288,6 @@ std::shared_ptr<Packet> Network::ParsePacketPlay(PacketNamePlayCB id) {
break;
case EntityTeleport:
return std::make_shared<PacketEntityTeleport>();
- break;
case EntityProperties:
break;
case EntityEffect:
diff --git a/src/NetworkClient.hpp b/src/NetworkClient.hpp
index f372468..bde5fdf 100644
--- a/src/NetworkClient.hpp
+++ b/src/NetworkClient.hpp
@@ -12,8 +12,6 @@ enum ConnectionState : unsigned char;
class NetworkClient {
std::unique_ptr<Network> network;
- std::queue <std::shared_ptr<Packet>> toSend;
- std::queue <std::shared_ptr<Packet>> toReceive;
ConnectionState state;
int compressionThreshold = -1;
std::chrono::steady_clock::time_point timeOfLastKeepAlivePacket;
@@ -23,4 +21,4 @@ class NetworkClient {
public:
NetworkClient(std::string address, unsigned short port, std::string username);
~NetworkClient();
-}; \ No newline at end of file
+};