Why won't args parse in TextTemplate?

I’m using a TextTemplate in my config file. Everything is working except the open and close args. No matter what I put they stay the default value of “{” or “}”.
Is this an issue with Configurate not getting them with the TypeToken?

I’ve had to get around this by manually getting them with configurate.

I tested to see if I could set the args then save, but when saved the args go back to “}”.
Now I just found out when creating a TextTemplate, the args are classified as “Object” instead of string.

Are args working at all?

Looks like there are issues with the TextTemplateConfigSerializer class, I am submitting an issue now.

EDIT: I submitted an issue on GitHub, and will try to submit a PR when I can get to it.

1 Like