Instanteat will now take maximum of last invclick and last eat.

This commit is contained in:
asofold 2012-10-07 22:03:34 +02:00
parent d9038010d8
commit 14fb490376

View File

@ -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.