MouseyPounds/stardew-checkup

TypeError when selecting save created in 1.4

Opened this issue · 2 comments

When i try to load my saves created in 1.4.5, i got an error.

stardew-checkup.js?v=4.0:3200 Uncaught TypeError: Cannot read property 'anchor' of undefined
    at parsePlayerQuests (stardew-checkup.js?v=4.0:3200)
    at Element.<anonymous> (stardew-checkup.js?v=4.0:3180)
    at Function.each (jquery.min.js:2)
    at r.fn.init.each (jquery.min.js:2)
    at parseQuests (stardew-checkup.js?v=4.0:3178)
    at FileReader.reader.onload (stardew-checkup.js?v=4.0:5024)

Save #1 (Last day saved in 1.5.0)
Save #2 (Last day saved in 1.4.5)

Seeing the same thing, although the error in Firefox is different:
Screenshot from 2020-12-22 17-58-14

It looks like you aren't passing meta into parsePlayerQuests on line 3180:
https://github.com/MouseyPounds/stardew-checkup/blob/master/stardew-checkup.js#L3180

Seems a simple fix. But also easy to overlook since it only affects multi-player?