Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-10-07 06:10:06 +02:00
Allow none
as image in height brush, fixes #969
Dieser Commit ist enthalten in:
Ursprung
d974164204
Commit
20424b081c
@ -928,7 +928,7 @@ public class BrushCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private InputStream getHeightmapStream(String filename) throws FileNotFoundException {
|
private InputStream getHeightmapStream(String filename) throws FileNotFoundException {
|
||||||
if (filename == null) {
|
if (filename == null || "none".equalsIgnoreCase(filename)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
String filenamePng = filename.endsWith(".png") ? filename : filename + ".png";
|
String filenamePng = filename.endsWith(".png") ? filename : filename + ".png";
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren