I'm using YACL for my mod's configuration and I have two related options; an item blacklist and an option to instead treat it as a whitelist. Ideally, I'd want to have the blacklist text change to use the word whitelist instead when that option is set, but with my current code it only updates the text when exiting and reentering the configuration. Is there a way to refresh/reload/replace the config screen to update the text in place?
I'm using YACL for my mod's configuration and I have two related options; an item blacklist and an option to instead treat it as a whitelist. Ideally, I'd want to have the blacklist text change to use the word whitelist instead when that option is set, but with my current code it only updates the text when exiting and reentering the configuration. Is there a way to refresh/reload/replace the config screen to update the text in place?
The relevant file is here.