diff options
Diffstat (limited to '')
-rw-r--r-- | source/packets/cPacket_CreativeInventoryAction.h (renamed from source/packets/cPacket_CreateInventoryAction.h) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/packets/cPacket_CreateInventoryAction.h b/source/packets/cPacket_CreativeInventoryAction.h index 083e05446..bb50c25db 100644 --- a/source/packets/cPacket_CreateInventoryAction.h +++ b/source/packets/cPacket_CreativeInventoryAction.h @@ -5,17 +5,17 @@ //Sure itīs not Creative Inventory? -class cPacket_CreateInventoryAction : public cPacket +class cPacket_CreativeInventoryAction : public cPacket { public: - cPacket_CreateInventoryAction() + cPacket_CreativeInventoryAction() : m_Slot( 0 ) , m_ItemID( 0 ) , m_Quantity( 0 ) , m_Damage( 0 ) - { m_PacketID = E_CREATE_INVENTORY_ACTION; m_Quantity = 1; } - cPacket_CreateInventoryAction( const cPacket_CreateInventoryAction & a_Copy ); - virtual cPacket* Clone() const { return new cPacket_CreateInventoryAction(*this); } + { m_PacketID = E_CREATIVE_INVENTORY_ACTION; m_Quantity = 1; } + cPacket_CreativeInventoryAction( const cPacket_CreativeInventoryAction & a_Copy ); + virtual cPacket* Clone() const { return new cPacket_CreativeInventoryAction(*this); } bool Parse(cSocket & a_Socket); bool Send(cSocket & a_Socket); |