summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.cpp
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-26 18:49:01 +0200
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-26 18:49:01 +0200
commitacd537d53369002ff3e5557865cbe66af01ea3a1 (patch)
tree089e8aeadf3f16244326fb943c5c288ca0613e87 /source/cClientHandle.cpp
parentUpdated VS2010 project files (diff)
downloadcuberite-acd537d53369002ff3e5557865cbe66af01ea3a1.tar
cuberite-acd537d53369002ff3e5557865cbe66af01ea3a1.tar.gz
cuberite-acd537d53369002ff3e5557865cbe66af01ea3a1.tar.bz2
cuberite-acd537d53369002ff3e5557865cbe66af01ea3a1.tar.lz
cuberite-acd537d53369002ff3e5557865cbe66af01ea3a1.tar.xz
cuberite-acd537d53369002ff3e5557865cbe66af01ea3a1.tar.zst
cuberite-acd537d53369002ff3e5557865cbe66af01ea3a1.zip
Diffstat (limited to 'source/cClientHandle.cpp')
-rw-r--r--source/cClientHandle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cClientHandle.cpp b/source/cClientHandle.cpp
index 99b8c040c..f21815e52 100644
--- a/source/cClientHandle.cpp
+++ b/source/cClientHandle.cpp
@@ -55,6 +55,7 @@
#include "packets/cPacket_PickupSpawn.h"
#include "packets/cPacket_ItemSwitch.h"
#include "packets/cPacket_EntityEquipment.h"
+#include "packets/cPacket_CreateInventoryAction.h"
#include "packets/cPacket_UseEntity.h"
#include "packets/cPacket_WindowClose.h"
#include "packets/cPacket_13.h"
@@ -134,6 +135,7 @@ cClientHandle::cClientHandle(const cSocket & a_Socket)
m_pState->PacketMap[E_DISCONNECT] = new cPacket_Disconnect;
m_pState->PacketMap[E_ITEM_SWITCH] = new cPacket_ItemSwitch;
m_pState->PacketMap[E_ENTITY_EQUIPMENT] = new cPacket_EntityEquipment;
+ m_pState->PacketMap[E_CREATE_INVENTORY_ACTION] = new cPacket_CreateInventoryAction;
m_pState->PacketMap[E_PICKUP_SPAWN] = new cPacket_PickupSpawn;
m_pState->PacketMap[E_USE_ENTITY] = new cPacket_UseEntity;
m_pState->PacketMap[E_WINDOW_CLOSE] = new cPacket_WindowClose;