This commit is contained in:
blockparole 2019-11-30 02:37:58 +01:00
parent 466e75b314
commit b474cd8629
1 changed files with 13 additions and 13 deletions

View File

@ -143,10 +143,6 @@ public class AutoFeetPlace extends Module {
} }
} }
int blocksPlaced = 0;
while (blocksPlaced < blocksPerTick.getValue()) {
Vec3d[] offsetPattern = new Vec3d[0]; Vec3d[] offsetPattern = new Vec3d[0];
int maxSteps = 0; int maxSteps = 0;
@ -160,6 +156,10 @@ public class AutoFeetPlace extends Module {
maxSteps = Offsets.SURROUND.length; maxSteps = Offsets.SURROUND.length;
} }
int blocksPlaced = 0;
while (blocksPlaced < blocksPerTick.getValue()) {
if (offsetStep >= maxSteps) { if (offsetStep >= maxSteps) {
offsetStep = 0; offsetStep = 0;
break; break;