i am very stupid

This commit is contained in:
Leijurv 2019-07-29 17:35:06 -07:00
parent 551b6b88d2
commit 6f251b64f1
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
2 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class MyChunkPos {
@SerializedName("x")
public int x;
@SerializedName("y")
@SerializedName("z")
public int z;
@Override

View File

@ -140,6 +140,9 @@ public final class ExploreProcess extends BaritoneProcessHelper implements IExpl
centers.add(new BlockPos(centerX, 0, centerZ));
}
}
if (dist % 10 == 0) {
count = Math.min(filter.countRemain(), Baritone.settings().exploreChunkSetMinimumSize.value);
}
if (centers.size() >= count) {
return centers.stream().map(pos -> createGoal(pos.getX(), pos.getZ())).toArray(Goal[]::new);
}