Cardinal-Components-API
Cardinal-Components-API copied to clipboard
Brittle config file parser
The config file parser cannot handle the config file existing, but containing invalid data.
This leads to a NumberFormatException here because the returned string is null:
https://github.com/Ladysnake/Cardinal-Components-API/blob/d328b40135a4f1d7b659a3655eb4cb8f31e65986/cardinal-components-base/src/main/java/org/ladysnake/cca/internal/base/ComponentsInternals.java#L59
That exception is not caught and therefore will crash the game.