Fix BoundingBox Conversion

See #228
This commit is contained in:
Sn0wStorm
2019-12-13 22:16:17 +01:00
parent e7a77bf2a1
commit a9fedeab32
4 changed files with 19 additions and 5 deletions
+5 -1
View File
@@ -337,7 +337,11 @@ public class BData {
System.arraycopy(wo, 0, points, st.length, woLength);
}
int[] locs = ArrayUtils.toPrimitive(Arrays.stream(points).map(s -> P.p.parseInt(s)).toArray(Integer[]::new));
box = BoundingBox.fromPoints(locs);
try {
box = BoundingBox.fromPoints(locs);
} catch (Exception e) {
e.printStackTrace();
}
}
Barrel b;