TheRandomLabs / CurseAPI

A Java library for handling interactions with CurseForge.
MIT License
30 stars 3 forks source link

Error when reloading Curse project #1

Closed DV8FromTheCode closed 5 years ago

DV8FromTheCode commented 5 years ago

I get the following error when using project.reload .

Code: https://pastebin.com/Gf2K1J2V

Error: https://pastebin.com/aCAP7y6z

TheRandomLabs commented 5 years ago

Whoa, I didn't expect anyone to actually use this yet. Thanks for reporting this anyway. I'll fix it now. Just so you know, you probably don't need to call reload there. I haven't written documentation yet either, so you'll have to look at how I use it in ChangelogGenerator or CurseAPI-Minecraft for examples.

DV8FromTheCode commented 5 years ago

ok, yea the api seems really cool and I plan to use it for discord to check when a addon is updated and inform users that it is.

TheRandomLabs commented 5 years ago

If you're going to be checking when a project is updated, I recommend calling CurseProject.reload instead.