Made Polygonal2DRegion(LocalWorld) invoke one of the other constructors.

This commit is contained in:
TomyLobo 2012-01-03 15:52:21 +01:00
parent 91bb159a80
commit 2cc0087524

View File

@ -59,12 +59,8 @@ public class Polygonal2DRegion implements Region {
* @param world * @param world
*/ */
public Polygonal2DRegion(LocalWorld world) { public Polygonal2DRegion(LocalWorld world) {
points = new ArrayList<BlockVector2D>(); this(world, Collections.<BlockVector2D>emptyList(), 0, 0);
minY = 0;
maxY = 0;
hasY = false; hasY = false;
this.world = world;
recalculate();
} }
/** /**