mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 11:44:42 +02:00
Per player plot cluster limits
This commit is contained in:
@ -49,6 +49,14 @@ public class PlotCluster {
|
||||
public String getName() {
|
||||
return this.settings.getAlias();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the area (in plots)
|
||||
* @return
|
||||
*/
|
||||
public int getArea() {
|
||||
return (1 + pos2.x - pos1.x) * (1 + pos2.y - pos1.y);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
|
Reference in New Issue
Block a user