- Crafting fixed in 1.0.0
- Server compatible with the weapons and equip again. (Some Packets were incompatible) - fixed bucket bugs (not all) - Fixed clients getting crashed by wrong Pickups - fixed nearly all mob drops. (Check wheather they are burning is missing Big Grin) - maybe some other things I can´t recall atm Big Grin git-svn-id: http://mc-server.googlecode.com/svn/trunk@94 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
|
||||
#include "cPacket.h"
|
||||
#include "PacketID.h"
|
||||
#include "../BlockID.h"
|
||||
|
||||
class cPacket_AddToInventory : public cPacket
|
||||
{
|
||||
public:
|
||||
cPacket_AddToInventory()
|
||||
: m_ItemType( 0 )
|
||||
: m_ItemType( E_ITEM_EMPTY )
|
||||
, m_Count( 0 )
|
||||
, m_Life( 0 )
|
||||
{ m_PacketID = E_ADD_TO_INV; }
|
||||
@@ -16,8 +17,8 @@ public:
|
||||
bool Parse( cSocket & a_Socket );
|
||||
bool Send( cSocket & a_Socket );
|
||||
|
||||
short m_ItemType;
|
||||
ENUM_ITEM_ID m_ItemType;
|
||||
char m_Count;
|
||||
short m_Life;
|
||||
static const unsigned int c_Size = 1 + 2 + 1 + 2;
|
||||
static const unsigned int c_Size = 1;
|
||||
};
|
||||
Reference in New Issue
Block a user