mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-04 23:07:44 +01:00
Bleeding: No longer ignore insta break for fastbreak.
This commit is contained in:
parent
9e6325eb9f
commit
1e423b85d4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user