Is your feature request related to a problem?
The Function class used for the defaultValue field in Setting is not Writeable.
What solution would you like?
Create writeable implementations for parser that implement both Function<Settings, String> and Writeable interfaces for all existing setting implementations.
Update WriteableSetting to write the defaultValue function as well as the underlying string (getRaw).
Is your feature request related to a problem?
The
Functionclass used for thedefaultValuefield inSettingis not Writeable.What solution would you like?
Create writeable implementations for parser that implement both
Function<Settings, String>andWriteableinterfaces for all existing setting implementations.Update
WriteableSettingto write the defaultValue function as well as the underlying string (getRaw).