Added Armor

This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-30 18:46:06 +01:00
parent 1e8b012a6e
commit fe8b4b7aa7
5 changed files with 35 additions and 2 deletions

View file

@ -64,7 +64,7 @@ define("MC_ENTITY_EVENT", 0x9c);
define("MC_REQUEST_CHUNK", 0x9d);
define("MC_CHUNK_DATA", 0x9e);
define("MC_PLAYER_EQUIPMENT", 0x9f);
//define("MC_SET_ARMOR_SLOT", 0xa0);
define("MC_SET_ARMOR", 0xa0);
define("MC_INTERACT", 0xa1);
define("MC_USE_ITEM", 0xa2);
define("MC_PLAYER_ACTION", 0xa3);

View file

@ -69,7 +69,7 @@ $dataName = array(
MC_CHUNK_DATA => "ChunkData",
MC_PLAYER_EQUIPMENT => "PlayerEquipment",
MC_SET_ARMOR => "SetArmorSlot",
MC_INTERACT => "Interact",
MC_USE_ITEM => "UseItem",
MC_PLAYER_ACTION => "PlayerAction",