3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-09 21:10:05 +01:00
Dieser Commit ist enthalten in:
Brokkonaut 2019-04-21 05:09:51 +02:00 committet von Kenzie Togami
Ursprung a9926328f1
Commit 6415d0d964
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -80,7 +80,7 @@ public class NoiseFilter extends AbstractMask {
*/ */
public void setDensity(double density) { public void setDensity(double density) {
checkArgument(density >= 0, "density must be >= 0"); checkArgument(density >= 0, "density must be >= 0");
checkArgument(density <= 1, "density must be >= 1"); checkArgument(density <= 1, "density must be <= 1");
this.density = density; this.density = density;
} }

Datei anzeigen

@ -78,7 +78,7 @@ public class NoiseFilter2D extends AbstractMask2D {
*/ */
public void setDensity(double density) { public void setDensity(double density) {
checkArgument(density >= 0, "density must be >= 0"); checkArgument(density >= 0, "density must be >= 0");
checkArgument(density <= 1, "density must be >= 1"); checkArgument(density <= 1, "density must be <= 1");
this.density = density; this.density = density;
} }