mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-02 13:57:49 +01:00
Instanteat will now take maximum of last invclick and last eat.
This commit is contained in:
parent
d9038010d8
commit
14fb490376
@ -52,7 +52,7 @@ public class InstantEat extends Check {
|
||||
return false;
|
||||
|
||||
// Rough estimation about how long it should take to eat
|
||||
final long expectedTimeWhenEatingFinished = data.instantEatLastTime + 700L;
|
||||
final long expectedTimeWhenEatingFinished = Math.max(data.instantEatLastTime, data.fastClickLastTime) + 700L;
|
||||
|
||||
if (expectedTimeWhenEatingFinished < time)
|
||||
// Acceptable, reduce VL to reward the player.
|
||||
|
Loading…
Reference in New Issue
Block a user