Protocol 1.7: Fixed using entities.
The mouse buttons were swapped.
This commit is contained in:
parent
64412c1fe3
commit
4707784929
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user