Fixed block interaction rate check
This commit is contained in:
parent
8ece214920
commit
aee1f8f9d1
|
@ -942,6 +942,8 @@ void cClientHandle::HandleRightClick(int a_BlockX, int a_BlockY, int a_BlockZ, e
|
|||
return;
|
||||
}
|
||||
|
||||
m_NumBlockChangeInteractionsThisTick++;
|
||||
|
||||
if (!CheckBlockInteractionsRate())
|
||||
{
|
||||
Kick("Too many blocks were placed/interacted with per unit time - hacked client?");
|
||||
|
|
Loading…
Reference in New Issue
Block a user