Line 142 is splitting on "\\s+,\\s+", which is to say "1 or more whitespace characters, followed by a comma, followed by 1 or more whitespace characters."
Your debug log shows
So it's not a match and therefore it's not parsing as a number.
I can't test a fix, so I'm reluctant to do it myself, but we could split on "\\s*,\\s*" (0 or more of the element) and also .strip() to remove spaces.
// Load the monsters that we've already reprocessed
Set<Integer> reprocessed =
Arrays.stream(Preferences.getString("gooseReprocessed").split("\\s+,\\s+"))
.filter(StringUtilities::isNumeric)
.map(Integer::valueOf)
.collect(Collectors.toSet());[/ICODE]
Your debug log shows
java.lang.NumberFormatException: For input string: "86,1436"
So it's not a match and therefore it's not parsing as a number.
I can't test a fix, so I'm reluctant to do it myself, but we could split on "\\s*,\\s*" (0 or more of the element) and also .strip() to remove spaces.
// Load the monsters that we've already reprocessed
Set<Integer> reprocessed =
Arrays.stream(Preferences.getString("gooseReprocessed").split("\\s+,\\s+"))
.filter(StringUtilities::isNumeric)
.map(Integer::valueOf)
.collect(Collectors.toSet());[/ICODE]