diff options
author | daniel0916 <theschokolps@gmail.com> | 2014-01-31 19:46:51 +0100 |
---|---|---|
committer | daniel0916 <theschokolps@gmail.com> | 2014-01-31 19:46:51 +0100 |
commit | 36120db400691be75199ff404e35f5c289b8818f (patch) | |
tree | 0547d366be14b96a961331de0f93ae86ff0fa4ae /src/Protocol/Protocol125.cpp | |
parent | removed hook from enchanting commit (diff) | |
download | cuberite-36120db400691be75199ff404e35f5c289b8818f.tar cuberite-36120db400691be75199ff404e35f5c289b8818f.tar.gz cuberite-36120db400691be75199ff404e35f5c289b8818f.tar.bz2 cuberite-36120db400691be75199ff404e35f5c289b8818f.tar.lz cuberite-36120db400691be75199ff404e35f5c289b8818f.tar.xz cuberite-36120db400691be75199ff404e35f5c289b8818f.tar.zst cuberite-36120db400691be75199ff404e35f5c289b8818f.zip |
Diffstat (limited to 'src/Protocol/Protocol125.cpp')
-rw-r--r-- | src/Protocol/Protocol125.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Protocol/Protocol125.cpp b/src/Protocol/Protocol125.cpp index 323a13992..b2b61acc9 100644 --- a/src/Protocol/Protocol125.cpp +++ b/src/Protocol/Protocol125.cpp @@ -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); |