isXander / YetAnotherConfigLib

YetAnotherConfigLib (yacl) is just that. A builder-based configuration library for Minecraft.
GNU Lesser General Public License v3.0
96 stars 36 forks source link

Values and Settings don't update until you close and then reopen the screen. #131

Open CrytoPal opened 9 months ago

CrytoPal commented 9 months ago

If you have an Enum setting and another setting that requires a certain enum value to show, the setting will not appear until you close and reopen the YACL screen. (This also applies to modifying the settings of any Options, the values won't change until you close, and reopen the YACL screen.)

Goby56 commented 8 months ago

I've also encountered this. I was trying to add additional options when another option got changed by using the optionIf builder but as @CrytoPal said you need to reopen the config screen.

To fix this one could provide a flag to indicate that the option should rebuild the screen or update existing "if" options. Implementing this may be easier said than done. A welcome feature nonetheless!