3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-20 01:40:06 +01:00

feat: more informative BoundedHeightMask error message

Dieser Commit ist enthalten in:
dordsor21 2023-11-18 15:02:02 +00:00
Ursprung 1a7f555add
Commit a64d24c6cf
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -41,7 +41,7 @@ public class BoundedHeightMask extends AbstractMask {
* @param maxY the maximum Y (must be equal to or greater than minY)
*/
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.maxY = maxY;
}