kawaii / Moodles

Crippling depression now in the form of a debuff, kupo!
BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

update: null check to prevent error spam #35

Closed thakyZ closed 4 months ago

thakyZ commented 4 months ago

There is a error log spam when the AtkResNode* passed to the method GetNodeIconArray has the method GetAsAtkComponentNode() called and returns null thus unable to get the Component then UldManager.

thakyZ commented 4 months ago

Also as a side note, more null checks may be necessary but I am unsure of this.

Limiana commented 4 months ago

Thank you! Why would it be null though? Might be better to investigate underlying issue.

thakyZ commented 4 months ago

I am unsure as to why, but it may be helpful for other plugin authors so that this mod isn't spamming the logs. Because the party list is completely shown when it errors so not sure as to why.