mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Made the fields in Polygonal2DRegion private.
This commit is contained in:
@ -38,13 +38,13 @@ import com.sk89q.worldedit.data.ChunkStore;
|
||||
* @author sk89q
|
||||
*/
|
||||
public class Polygonal2DRegion implements Region {
|
||||
protected List<BlockVector2D> points;
|
||||
protected BlockVector min;
|
||||
protected BlockVector max;
|
||||
protected int minY;
|
||||
protected int maxY;
|
||||
protected boolean hasY = false;
|
||||
protected LocalWorld world;
|
||||
private List<BlockVector2D> points;
|
||||
private BlockVector min;
|
||||
private BlockVector max;
|
||||
private int minY;
|
||||
private int maxY;
|
||||
private boolean hasY = false;
|
||||
private LocalWorld world;
|
||||
|
||||
/**
|
||||
* Construct the region
|
||||
@ -52,7 +52,7 @@ public class Polygonal2DRegion implements Region {
|
||||
public Polygonal2DRegion() {
|
||||
this((LocalWorld) null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Construct the region.
|
||||
*
|
||||
@ -597,4 +597,12 @@ public class Polygonal2DRegion implements Region {
|
||||
public void setWorld(LocalWorld world) {
|
||||
this.world = world;
|
||||
}
|
||||
|
||||
public int getMinY() {
|
||||
return minY;
|
||||
}
|
||||
|
||||
public int getMaxY() {
|
||||
return maxY;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user