fix brainlet block breaking issue
This commit is contained in:
parent
9f271b1f44
commit
8a396db80e
@ -63,11 +63,12 @@ public final class BlockBreakHelper implements Helper {
|
|||||||
ctx.player().swingArm(EnumHand.MAIN_HAND);
|
ctx.player().swingArm(EnumHand.MAIN_HAND);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ctx.playerController().setHittingBlock(false);
|
||||||
|
|
||||||
didBreakLastTick = true;
|
didBreakLastTick = true;
|
||||||
} else if (didBreakLastTick) {
|
} else if (didBreakLastTick) {
|
||||||
stopBreakingBlock();
|
stopBreakingBlock();
|
||||||
didBreakLastTick = false;
|
didBreakLastTick = false;
|
||||||
}
|
}
|
||||||
ctx.playerController().setHittingBlock(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user