summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-06-25 16:11:56 +0200
committerMattes D <github@xoft.cz>2015-06-25 16:11:56 +0200
commit8e1437be08e3de486206bc69655e81cda993bb9a (patch)
tree343cd43424d3b46c26042754865134e495499616 /src/Protocol/Protocol18x.cpp
parentMerge pull request #2291 from bibo38/doorfix (diff)
parentFixed Middle-Click Button in the ClickWindow-Packet. (diff)
downloadcuberite-8e1437be08e3de486206bc69655e81cda993bb9a.tar
cuberite-8e1437be08e3de486206bc69655e81cda993bb9a.tar.gz
cuberite-8e1437be08e3de486206bc69655e81cda993bb9a.tar.bz2
cuberite-8e1437be08e3de486206bc69655e81cda993bb9a.tar.lz
cuberite-8e1437be08e3de486206bc69655e81cda993bb9a.tar.xz
cuberite-8e1437be08e3de486206bc69655e81cda993bb9a.tar.zst
cuberite-8e1437be08e3de486206bc69655e81cda993bb9a.zip
Diffstat (limited to 'src/Protocol/Protocol18x.cpp')
-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;