Fix NPE in CylinderRegion

Dieser Commit ist enthalten in:
Ferreira Christopher 2012-01-22 12:02:11 +01:00
Ursprung 8a23e4232b
Commit eee02565ca

Datei anzeigen

@ -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;