mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
feat: more informative BoundedHeightMask error message
This commit is contained in:
parent
1a7f555add
commit
a64d24c6cf
@ -41,7 +41,7 @@ public class BoundedHeightMask extends AbstractMask {
|
|||||||
* @param maxY the maximum Y (must be equal to or greater than minY)
|
* @param maxY the maximum Y (must be equal to or greater than minY)
|
||||||
*/
|
*/
|
||||||
public BoundedHeightMask(int minY, int maxY) {
|
public BoundedHeightMask(int minY, int maxY) {
|
||||||
checkArgument(minY <= maxY, "minY <= maxY required");
|
checkArgument(minY <= maxY, "minY <= maxY required. minY:" + minY + " and maxY:" + maxY + " were given.");
|
||||||
this.minY = minY;
|
this.minY = minY;
|
||||||
this.maxY = maxY;
|
this.maxY = maxY;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user