diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/cuboid/CuboidCreator4.java b/BauSystem_Main/src/de/steamwar/bausystem/features/cuboid/CuboidCreator4.java index 1be0b2d8..0df0430b 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/cuboid/CuboidCreator4.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/cuboid/CuboidCreator4.java @@ -91,12 +91,12 @@ public class CuboidCreator4 implements Iterator { expand(currentCuboid, new ArrayList<>(Arrays.asList(axes)), entry.getValue()); if (cuboid == null || cuboid.size() < currentCuboid.size()) { cuboid = currentCuboid; - if (cuboid.size() > positions.size()) { + if (cuboid.size() >= positions.size()) { break; } } } - if (cuboid.size() > positions.size()) { + if (cuboid.size() >= positions.size()) { break; } }