Bleeding: No longer ignore insta break for fastbreak.

This commit is contained in:
asofold 2012-10-02 04:13:39 +02:00
parent 9e6325eb9f
commit 1e423b85d4

View File

@ -61,10 +61,11 @@ public class FastBreak extends Check {
final long elapsedTime = (data.fastBreakBreakTime > data.fastBreakfirstDamage) ? 0 : now - data.fastBreakfirstDamage; final long elapsedTime = (data.fastBreakBreakTime > data.fastBreakfirstDamage) ? 0 : now - data.fastBreakfirstDamage;
// Check if the time used time is lower than expected. // Check if the time used time is lower than expected.
if (isInstaBreak){ // if (isInstaBreak){
// Ignore those for now. // // Ignore those for now.
} // }
else if (elapsedTime + cc.fastBreakDelay < breakingTime){ // else
if (elapsedTime + cc.fastBreakDelay < breakingTime){
// lag or cheat or Minecraft. // lag or cheat or Minecraft.
final long missingTime = breakingTime - elapsedTime; final long missingTime = breakingTime - elapsedTime;