Call reset() on static schematics as well
This commit is contained in:
parent
5a926bf169
commit
971b75860f
@ -75,9 +75,7 @@ public class CompositeSchematic extends AbstractSchematic {
|
||||
@Override
|
||||
public void reset() {
|
||||
for (CompositeSchematicEntry entry : schematicArr) {
|
||||
if (!(entry.schematic instanceof IStaticSchematic)) {
|
||||
entry.schematic.reset();
|
||||
}
|
||||
entry.schematic.reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -382,9 +382,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
|
||||
|
||||
@Override
|
||||
public void reset() {
|
||||
if (!(realSchematic instanceof IStaticSchematic)) {
|
||||
realSchematic.reset();
|
||||
}
|
||||
realSchematic.reset();
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -424,7 +422,7 @@ public final class BuilderProcess extends BaritoneProcessHelper implements IBuil
|
||||
// build repeat time
|
||||
layer = 0;
|
||||
origin = new BlockPos(origin).add(repeat);
|
||||
if (!(schematic instanceof IStaticSchematic) && !Baritone.settings().buildRepeatSneaky.value) {
|
||||
if (!Baritone.settings().buildRepeatSneaky.value) {
|
||||
schematic.reset();
|
||||
}
|
||||
logDirect("Repeating build in vector " + repeat + ", new origin is " + origin);
|
||||
|
Loading…
Reference in New Issue
Block a user