diff options
-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)); } |