Fixed a few things related to thumbnails
All checks were successful
/ Build the server (push) Successful in 2m25s
All checks were successful
/ Build the server (push) Successful in 2m25s
This commit is contained in:
parent
8ca8cfd16f
commit
0306a98936
@ -49,8 +49,9 @@ public class Node {
|
||||
.allowOverwrite(true)
|
||||
.outputFormat("png")
|
||||
.toFile(previewFile);
|
||||
} catch (UnsupportedFormatException ignored) {}
|
||||
|
||||
hasPreview = true;
|
||||
hasPreview = true;
|
||||
} catch (UnsupportedFormatException | IllegalStateException ignored) {
|
||||
hasPreview = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user