I am getting a weird bug where it seems the HoconConfigurationLoader is renaming the file I pass in when I try to save the file. Here is the error log. Any ideas or should I post this as an issue on Configurate’s GitHub?
I got this too when using Configurate for a Discord bot. If you’re not using @Inject @DefaultConfig to get your ConfigurationLoader, make sure that the file you’re loading exists first. And yes, I do know that the NoSuchFileException looks like an unrelated file, but creating the file you’re loading if it’s nonexistent fixes it anyway.
1 Like