1
0

Fixed pre 1.7 clients crashing.

This commit is contained in:
STRWarrior 2013-12-15 11:34:00 +01:00
parent 5e6a4c99a7
commit 828cca5c7e

View File

@ -43,8 +43,6 @@ enum
PACKET_HANDSHAKE = 0x02, PACKET_HANDSHAKE = 0x02,
PACKET_CHAT = 0x03, PACKET_CHAT = 0x03,
PACKET_UPDATE_TIME = 0x04, PACKET_UPDATE_TIME = 0x04,
PACKET_ENTITY_EFFECT = 0x1D,
PACKET_REMOVE_ENTITY_EFFECT = 0x1E,
PACKET_ENTITY_EQUIPMENT = 0x05, PACKET_ENTITY_EQUIPMENT = 0x05,
PACKET_USE_ENTITY = 0x07, PACKET_USE_ENTITY = 0x07,
PACKET_UPDATE_HEALTH = 0x08, PACKET_UPDATE_HEALTH = 0x08,
@ -75,7 +73,9 @@ enum
PACKET_ENT_STATUS = 0x26, PACKET_ENT_STATUS = 0x26,
PACKET_ATTACH_ENTITY = 0x27, PACKET_ATTACH_ENTITY = 0x27,
PACKET_METADATA = 0x28, PACKET_METADATA = 0x28,
PACKET_ENTITY_EFFECT = 0x29,
PACKET_SPAWN_EXPERIENCE_ORB = 0x1A, PACKET_SPAWN_EXPERIENCE_ORB = 0x1A,
PACKET_REMOVE_ENTITY_EFFECT = 0x2a,
PACKET_EXPERIENCE = 0x2b, PACKET_EXPERIENCE = 0x2b,
PACKET_PRE_CHUNK = 0x32, PACKET_PRE_CHUNK = 0x32,
PACKET_MAP_CHUNK = 0x33, PACKET_MAP_CHUNK = 0x33,