Skip to content

Commit

Permalink
catch bad casting errors in toml parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
raiyni committed Jun 10, 2024
1 parent bf8034c commit a51fbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/melky/resourcepacks/overrides/Overrides.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void buildOverrides(final String packOverrides)
walkChildren(new WidgetOverride().withName(key), table, pack);
}
}
catch (IOException e)
catch (IOException | ClassCastException e)
{
log.error("error loading overrides", e);
}
Expand Down

0 comments on commit a51fbde

Please sign in to comment.