OreCruncher/OreLib

Configuration: handle type conversion and clamping

OreCruncher opened this issue · 1 comments

Two scenarios:

  • The config parameter changes type (like from integer I to double D). Right now converting from integer to double is causing a parse error.
  • Clamp the value of the property into the appropriate range. Right now clamping occurs when the config value is obtained, not when read or persisted. Need to clamp the value appropriately when persisted.

See [OreCruncher/DynamicSurroundings#410].

Pushed OreLib v3.5.0.1 to CurseForge.