recheck positionsToBreak every tick to prepare, fixes #42

This commit is contained in:
Leijurv 2018-08-18 12:21:39 -07:00
parent ee8e44d314
commit 237ac85b6b
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -124,9 +124,6 @@ public abstract class Movement implements Helper, MovementHelper {
}
protected boolean prepared(MovementState state) {
if (state.getStatus() == MovementStatus.WAITING)
return true;
boolean somethingInTheWay = false;
for (BlockPos blockPos : positionsToBreak) {
if (!MovementHelper.canWalkThrough(blockPos)) {