summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.cpp
diff options
context:
space:
mode:
authorbibo38 <bibo38@github.com>2015-06-25 13:01:48 +0200
committerbibo38 <bibo38@github.com>2015-06-25 13:01:48 +0200
commitec628846d2dbc65736f1c8bee90ff44a04e615e1 (patch)
tree1468dc7417d0731b79ec99a812a3c9788c00e0e3 /src/Protocol/Protocol18x.cpp
parentMerge pull request #2284 from cuberite/FixBiomeGen (diff)
downloadcuberite-ec628846d2dbc65736f1c8bee90ff44a04e615e1.tar
cuberite-ec628846d2dbc65736f1c8bee90ff44a04e615e1.tar.gz
cuberite-ec628846d2dbc65736f1c8bee90ff44a04e615e1.tar.bz2
cuberite-ec628846d2dbc65736f1c8bee90ff44a04e615e1.tar.lz
cuberite-ec628846d2dbc65736f1c8bee90ff44a04e615e1.tar.xz
cuberite-ec628846d2dbc65736f1c8bee90ff44a04e615e1.tar.zst
cuberite-ec628846d2dbc65736f1c8bee90ff44a04e615e1.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol18x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol18x.cpp b/src/Protocol/Protocol18x.cpp
index 7cbabf806..d5dd328a4 100644
--- a/src/Protocol/Protocol18x.cpp
+++ b/src/Protocol/Protocol18x.cpp
@@ -2692,7 +2692,7 @@ void cProtocol180::HandlePacketWindowClick(cByteBuffer & a_ByteBuffer)
case 0x0206: Action = caNumber7; break;
case 0x0207: Action = caNumber8; break;
case 0x0208: Action = caNumber9; break;
- case 0x0300: Action = caMiddleClick; break;
+ case 0x0302: Action = caMiddleClick; break;
case 0x0400: Action = (SlotNum == SLOT_NUM_OUTSIDE) ? caLeftClickOutsideHoldNothing : caDropKey; break;
case 0x0401: Action = (SlotNum == SLOT_NUM_OUTSIDE) ? caRightClickOutsideHoldNothing : caCtrlDropKey; break;
case 0x0500: Action = (SlotNum == SLOT_NUM_OUTSIDE) ? caLeftPaintBegin : caUnknown; break;