1
0

1.8: Fixed eating.

This commit is contained in:
Howaner 2014-09-12 01:37:19 +02:00
parent 85ec697d32
commit 4e2d75bde5

View File

@ -1207,6 +1207,7 @@ void cClientHandle::HandleRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, e
if (
(a_BlockFace != BLOCK_FACE_NONE) && // The client is interacting with a specific block
IsValidBlock(a_HeldItem.m_ItemType) &&
((Vector3d(a_BlockX, a_BlockY, a_BlockZ) - m_Player->GetPosition()).Length() >= 5)
)
{