mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-02 08:40:01 +01:00
Fix fastbreak for the moment.
This commit is contained in:
parent
b5ee2fe985
commit
0b083f9d30
@ -61,7 +61,7 @@ public class FastBreak extends Check {
|
||||
if (elapsedTime < elapsedTimeLimit && data.fastBreakBreakTime > 0L && data.fastBreakDamageTime > 0L
|
||||
&& (player.getItemInHand().getType() != Material.SHEARS || block.getType() != Material.LEAVES)) {
|
||||
// If the buffer has been consumed.
|
||||
if (data.fastBreakBuffer == 0) {
|
||||
if (data.fastBreakBuffer <= 0) {
|
||||
// Increment the violation level (but using the original limit).
|
||||
data.fastBreakVL += elapsedTimeLimit - elapsedTime;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user