diff --git a/src/main/java/net/neoforged/neoforge/client/gui/ModListScreen.java b/src/main/java/net/neoforged/neoforge/client/gui/ModListScreen.java index b4de9b9605..cf6cf93a3d 100644 --- a/src/main/java/net/neoforged/neoforge/client/gui/ModListScreen.java +++ b/src/main/java/net/neoforged/neoforge/client/gui/ModListScreen.java @@ -395,7 +395,7 @@ public void upload() { } }), new Size2i(logo.getWidth(), logo.getHeight())); } - } catch (IOException e) {} + } catch (IOException | IllegalArgumentException e) {} return Pair.of(null, new Size2i(0, 0)); }).orElse(Pair.of(null, new Size2i(0, 0)));