From 2cc008752480aa6c1dc589c80bcdbff82a91f0cc Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Tue, 3 Jan 2012 15:52:21 +0100 Subject: [PATCH] Made Polygonal2DRegion(LocalWorld) invoke one of the other constructors. --- .../java/com/sk89q/worldedit/regions/Polygonal2DRegion.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java b/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java index ddacd73a8..c9d406daa 100644 --- a/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java +++ b/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegion.java @@ -59,12 +59,8 @@ public class Polygonal2DRegion implements Region { * @param world */ public Polygonal2DRegion(LocalWorld world) { - points = new ArrayList(); - minY = 0; - maxY = 0; + this(world, Collections.emptyList(), 0, 0); hasY = false; - this.world = world; - recalculate(); } /**