summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_8.cpp
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-07-13 15:43:48 +0200
committerMattes D <github@xoft.cz>2017-07-13 15:43:48 +0200
commit41d016cf5bdae46d478559f50a48a86723db80f8 (patch)
tree445d6f414374399780df670c927039b68685933b /src/Protocol/Protocol_1_8.cpp
parentAdded basic ocelot behavior (#3829) (diff)
downloadcuberite-41d016cf5bdae46d478559f50a48a86723db80f8.tar
cuberite-41d016cf5bdae46d478559f50a48a86723db80f8.tar.gz
cuberite-41d016cf5bdae46d478559f50a48a86723db80f8.tar.bz2
cuberite-41d016cf5bdae46d478559f50a48a86723db80f8.tar.lz
cuberite-41d016cf5bdae46d478559f50a48a86723db80f8.tar.xz
cuberite-41d016cf5bdae46d478559f50a48a86723db80f8.tar.zst
cuberite-41d016cf5bdae46d478559f50a48a86723db80f8.zip
Diffstat (limited to 'src/Protocol/Protocol_1_8.cpp')
-rw-r--r--src/Protocol/Protocol_1_8.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp
index ee2172eaf..aa5af83e1 100644
--- a/src/Protocol/Protocol_1_8.cpp
+++ b/src/Protocol/Protocol_1_8.cpp
@@ -2690,6 +2690,9 @@ void cProtocol_1_8_0::HandlePacketWindowClick(cByteBuffer & a_ByteBuffer)
case 0x0504: Action = (SlotNum == SLOT_NUM_OUTSIDE) ? caRightPaintBegin : caUnknown; break;
case 0x0505: Action = (SlotNum != SLOT_NUM_OUTSIDE) ? caRightPaintProgress : caUnknown; break;
case 0x0506: Action = (SlotNum == SLOT_NUM_OUTSIDE) ? caRightPaintEnd : caUnknown; break;
+ case 0x0508: Action = (SlotNum == SLOT_NUM_OUTSIDE) ? caMiddlePaintBegin : caUnknown; break;
+ case 0x0509: Action = (SlotNum != SLOT_NUM_OUTSIDE) ? caMiddlePaintProgress : caUnknown; break;
+ case 0x050a: Action = (SlotNum == SLOT_NUM_OUTSIDE) ? caMiddlePaintEnd : caUnknown; break;
case 0x0600: Action = caDblClick; break;
default:
{