Fix fastbreak for the moment.

This commit is contained in:
asofold 2012-09-09 06:02:43 +02:00
parent b5ee2fe985
commit 0b083f9d30

View File

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