This may fix something, probably not

This commit is contained in:
Dark Arc 2013-12-29 18:38:38 -05:00 committed by TomyLobo
parent f08a9a4aa4
commit f5a3d63004

View File

@ -179,7 +179,7 @@ public int volume() {
p2 = points.get(s);
// Do the math, then reassign s
area += (p2.getBlockX() + p1.getBlockX()) * (p2.getBlockZ() - p1.getBlockZ());
area += ((p2.getBlockX() + .5) + (p1.getBlockX() + .5)) * ((p2.getBlockZ() + .5) - (p1.getBlockZ() + .5));
s = i;
}
return (int) Math.abs(Math.ceil(area / 2D) * yLength);