Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
Fix "cleared" ellipsoid/cylinder regions still passing isDefined check (#2465)
Dieser Commit ist enthalten in:
Ursprung
37161f9f69
Commit
50ecc5908d
@ -254,6 +254,8 @@ public class CylinderRegionSelector implements RegionSelector, CUIRegion {
|
|||||||
@Override
|
@Override
|
||||||
public void clear() {
|
public void clear() {
|
||||||
region = new CylinderRegion(region.getWorld());
|
region = new CylinderRegion(region.getWorld());
|
||||||
|
selectedCenter = false;
|
||||||
|
selectedRadius = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -227,6 +227,8 @@ public class EllipsoidRegionSelector implements RegionSelector, CUIRegion {
|
|||||||
public void clear() {
|
public void clear() {
|
||||||
region.setCenter(BlockVector3.ZERO);
|
region.setCenter(BlockVector3.ZERO);
|
||||||
region.setRadius(Vector3.ZERO);
|
region.setRadius(Vector3.ZERO);
|
||||||
|
started = false;
|
||||||
|
selectedRadius = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren