diff options
author | madmaxoft <github@xoft.cz> | 2013-11-08 21:03:51 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-08 21:03:51 +0100 |
commit | 4707784929f5f8fa19cb015deb6fa3f346b4775c (patch) | |
tree | 9c1a59bad48681235f76ad52af38ecee46899956 /source | |
parent | Protocol 1.7: Copied Mob Metadata code from 1.2.5. (diff) | |
download | cuberite-4707784929f5f8fa19cb015deb6fa3f346b4775c.tar cuberite-4707784929f5f8fa19cb015deb6fa3f346b4775c.tar.gz cuberite-4707784929f5f8fa19cb015deb6fa3f346b4775c.tar.bz2 cuberite-4707784929f5f8fa19cb015deb6fa3f346b4775c.tar.lz cuberite-4707784929f5f8fa19cb015deb6fa3f346b4775c.tar.xz cuberite-4707784929f5f8fa19cb015deb6fa3f346b4775c.tar.zst cuberite-4707784929f5f8fa19cb015deb6fa3f346b4775c.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Protocol/Protocol17x.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Protocol/Protocol17x.cpp b/source/Protocol/Protocol17x.cpp index 7e4717c7a..a2b3a7a56 100644 --- a/source/Protocol/Protocol17x.cpp +++ b/source/Protocol/Protocol17x.cpp @@ -1342,8 +1342,7 @@ void cProtocol172::HandlePacketUseEntity(UInt32 a_RemainingBytes) { HANDLE_READ(ReadBEInt, int, EntityID); HANDLE_READ(ReadByte, Byte, MouseButton); - // TODO: Verify that this works, wiki.vg has no info on the MouseButton values - m_Client->HandleUseEntity(EntityID, (MouseButton == 0)); + m_Client->HandleUseEntity(EntityID, (MouseButton == 1)); } |