Closed MasterToster closed 1 year ago
As the title states. Suggested fix: i just changed the line 149 in MidnightConfig.java from value = f.apply(s); to try{ value = f.apply(s); } catch(NumberFormatException e){ return false; }
value = f.apply(s);
try{ value = f.apply(s); } catch(NumberFormatException e){ return false; }
I'll look into this, but I'll try to ensure users aren't able to input integers over the int limit in the first place.
As the title states. Suggested fix: i just changed the line 149 in MidnightConfig.java from
value = f.apply(s);
totry{ value = f.apply(s); } catch(NumberFormatException e){ return false; }