Posted July 5, 20178 yr Heyho, I know this might sound stupid but I would need to change some of my config values from other locations than the default config gui. My research has shown that I need the property, but with the new annotation based configs I am unable to find a way to get them (at least without reflections). Is there maybe a way to change these values without reflections? Thanks in advance. Edited July 5, 20178 yr by JTK222
July 5, 20178 yr Change the value of the field and then call ConfigManager.sync to synchronise the fields and the Configuration properties. This will iterate through every field and use ConfigManager.shouldReadFromVar to decide whether the property should be set to the field's value (true) or the field should be set to the property's value (false). Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
July 5, 20178 yr Author I am feeling so stupid... I tried that but as it looks I had a typo in the modid Even though big thanks ^^ I would probably be searching again for days without this
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.