1
0

Some updates for enchanting (2)

This commit is contained in:
daniel0916
2014-01-31 19:46:51 +01:00
parent 5609fed360
commit 36120db400
9 changed files with 173 additions and 15 deletions

View File

@@ -1535,6 +1535,21 @@ int cProtocol125::ParseUseEntity(void)
int cProtocol125::ParseEnchantItem(void)
{
HANDLE_PACKET_READ(ReadByte, byte, WindowID);
HANDLE_PACKET_READ(ReadByte, byte, Enchantment);
// TODO: Enchant Handling for older Protocols
return PARSE_OK;
}
int cProtocol125::ParseWindowClick(void)
{
HANDLE_PACKET_READ(ReadChar, char, WindowID);