OreLib

OreLib

36M Downloads

Configuration: handle type conversion and clamping

OreCruncher opened this issue ยท 1 comments

commented

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].

commented

Pushed OreLib v3.5.0.1 to CurseForge.