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

Dieser Commit ist enthalten in:
TomyLobo 2012-01-03 15:52:21 +01:00
Ursprung 91bb159a80
Commit 2cc0087524

Datei anzeigen

@ -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();
} }
/** /**