mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 23:50:45 +00:00
committed by
Jindra Petřík
parent
439f453182
commit
082a6fda92
@@ -67,7 +67,7 @@ public class SerializableImage implements Serializable {
|
||||
|
||||
public SerializableImage(int width, int height, int imageType, int[] pixels) {
|
||||
if (imageType != BufferedImage.TYPE_INT_ARGB_PRE && imageType != BufferedImage.TYPE_INT_RGB) {
|
||||
throw new Error("Unsuppported image type: " + imageType);
|
||||
throw new Error("Unsupported image type: " + imageType);
|
||||
}
|
||||
|
||||
image = new BufferedImage(width, height, imageType);
|
||||
|
||||
Reference in New Issue
Block a user