Twitch emotes being funky
Cloudhunter opened this issue ยท 2 comments
Hi!
While trying out your mod for the first time as part of Project Ozone, I saw an issue where Twitch emotes weren't displaying.
After some debugging, I think I have identified the issue. It appears that Twitch Emotes now returns a full https url in their API, like so:
https:\/\/static-cdn.jtvnw.net\/emoticons\/v1\/{image_id}\/1.0
(Excuse the mangling, copied straight from a file).
On this line, "http:" is added before the returned URL in order to create a "template". This obviously results in an invalid URL.
Changing it not to add "http:" before should fix the issue. If you would like me to do a pull request using GitHub's editor, please let me know and I will happily do so.
Thanks!
Thanks! New version is up on Jenkins and will be on CurseForge in a bit.