Fix claim bounding boxes not covering whole claim (#1145)

This commit is contained in:
Adam 2020-12-10 12:56:14 -05:00 committed by GitHub
parent 03ab872f6d
commit 3350e2a0bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ public class BoundingBox implements Cloneable
*/
public BoundingBox(Claim claim)
{
this(claim.getLesserBoundaryCorner(), claim.getGreaterBoundaryCorner(), false);
this(claim.getLesserBoundaryCorner(), claim.getGreaterBoundaryCorner().clone().add(0, 255, 0), false);
}
/**