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,23 +143,23 @@ public class AutoFeetPlace extends Module {
}
}
Vec3d[] offsetPattern = new Vec3d[0];
int maxSteps = 0;
if (mode.getValue().equals(Mode.FULL)) {
offsetPattern = Offsets.FULL;
maxSteps = Offsets.FULL.length;
}
if (mode.getValue().equals(Mode.SURROUND)) {
offsetPattern = Offsets.SURROUND;
maxSteps = Offsets.SURROUND.length;
}
int blocksPlaced = 0;
while (blocksPlaced < blocksPerTick.getValue()) {
Vec3d[] offsetPattern = new Vec3d[0];
int maxSteps = 0;
if (mode.getValue().equals(Mode.FULL)) {
offsetPattern = Offsets.FULL;
maxSteps = Offsets.FULL.length;
}
if (mode.getValue().equals(Mode.SURROUND)) {
offsetPattern = Offsets.SURROUND;
maxSteps = Offsets.SURROUND.length;
}
if (offsetStep >= maxSteps) {
offsetStep = 0;
break;