mirror of
https://github.com/GeyserExtensionists/GeyserModelEnginePackGenerator.git
synced 2025-12-19 15:09:18 +00:00
fix
This commit is contained in:
@@ -344,7 +344,9 @@ public class GeneratorMain {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
ImageIO.write(entry.getValue().getImage(), "png", path.toFile());
|
||||
if (entry.getValue().getImage() != null) {
|
||||
ImageIO.write(entry.getValue().getImage(), "png", path.toFile());
|
||||
}
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user