Data Packs Sometimes Fail To Load
SilentChaos512 opened this issue ยท 0 comments
I'm working on an issue with Silent Gear, where resources from the data folder sometimes fail to load. I have not been able to reproduce the issue myself, but several users have reported the issue only occurs when KleeSlabs is installed. I may know why this is happening.
I noticed you are using ISelectiveResourceReloadListener
. For whatever reason, this accesses a client-only class, ReloadRequirements
. I recommend using IResourceManagerReloadListener
instead. It is marked as deprecated, but I have had no issues with it.
Links
- Related Forge issue: MinecraftForge/MinecraftForge#5837
- Possibly related issue on my repo, although I haven't gotten any additional information: SilentChaos512/Silent-Gear#30
- Log file from my test server, the error I mentioned is on line 10419. I don't believe there's anything useful in the log since this was a successful startup, but it's here if you want it:
https://gist.github.com/SilentChaos512/0c092ac382ddaded0d00f02f20e992e2