mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
EllipsoidRegion's constructor now takes radius, not offset radius.
This commit is contained in:
parent
3a828c9759
commit
0138cd7f1c
@ -59,11 +59,11 @@ public class EllipsoidRegion extends AbstractRegion {
|
|||||||
public EllipsoidRegion(LocalWorld world, Vector center, Vector radius) {
|
public EllipsoidRegion(LocalWorld world, Vector center, Vector radius) {
|
||||||
super(world);
|
super(world);
|
||||||
this.center = center;
|
this.center = center;
|
||||||
this.radius = radius;
|
setRadius(radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
public EllipsoidRegion(EllipsoidRegion ellipsoidRegion) {
|
public EllipsoidRegion(EllipsoidRegion ellipsoidRegion) {
|
||||||
this(ellipsoidRegion.world, ellipsoidRegion.center, ellipsoidRegion.radius);
|
this(ellipsoidRegion.world, ellipsoidRegion.center, ellipsoidRegion.getRadius());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user