loathers / yorick

4 stars 9 forks source link

Fix Daylight Shavings Helmet sometimes undefined effect error #107

Closed ajcoppa closed 2 months ago

ajcoppa commented 2 months ago

For some reason, libram's DaylightShavings.nextBuff() sometimes returns undefined. In my current character state it only seems to happen in early render cycles of this component, not consistently. I don't currently understand why that happens, but adding a safety check here fixes it and I'd like to get yorick working again.