mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Added to toString() method to CuboidRegion.
This commit is contained in:
parent
2c155c241b
commit
6f79df8398
@ -342,4 +342,14 @@ public class CuboidRegion implements Region {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns string representation "( (x, y, z) - (x, y, z) )".
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return "( "+getMinimumPoint()+" - "+getMaximumPoint()+" )";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user