Fix ellipsoid and cylinder regions not fully clearing (#2413)

This commit is contained in:
Zeranny 2023-10-16 09:46:36 +01:00 committed by GitHub
parent b7bc56e8d3
commit 496407b656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -247,6 +247,8 @@ public void learnChanges() {
@Override
public void clear() {
region = new CylinderRegion(region.getWorld());
selectedCenter = false;
selectedRadius = false;
}
@Override

View File

@ -227,6 +227,8 @@ public void learnChanges() {
public void clear() {
region.setCenter(BlockVector3.ZERO);
region.setRadius(Vector3.ZERO);
started = false;
selectedRadius = false;
}
@Override