I'm using the library on 1.18.2. I was getting the IllegalArgumentException in VersionUtil line 58 (When it was using VersionEnum#valueOf). The string that was being passed through was "v1.18" instead of "V1.18". Fixed this by ensuring that the string is always uppercased. Also fixed VersionEnum 1.19 constant (Changed from "v1.19" to "V1.19" to mimic the rest of the constants)
I'm using the library on 1.18.2. I was getting the IllegalArgumentException in VersionUtil line 58 (When it was using VersionEnum#valueOf). The string that was being passed through was "v1.18" instead of "V1.18". Fixed this by ensuring that the string is always uppercased. Also fixed VersionEnum 1.19 constant (Changed from "v1.19" to "V1.19" to mimic the rest of the constants)