Fix NPE in CylinderRegion

This commit is contained in:
Ferreira Christopher 2012-01-22 12:02:11 +01:00
parent 8a23e4232b
commit eee02565ca

View File

@ -66,7 +66,7 @@ public class CylinderRegion extends AbstractRegion {
*/
public CylinderRegion(LocalWorld world, Vector center, Vector2D radius, int minY, int maxY) {
super(world);
this.center = center;
setCenter(center);
setRadius(radius);
this.minY = minY;
this.maxY = maxY;