Closed dukio closed 3 years ago
Url: https://hypixel-api.senither.com/v1/profiles/781b200ae40543daa5038559f5947953/weight?key=<KEY>
https://hypixel-api.senither.com/v1/profiles/781b200ae40543daa5038559f5947953/weight?key=<KEY>
Player: https://sky.shiiyu.moe/stats/simiboo/Orange
{ "status": 500, "reason": "Cannot read property 'experience' of undefined", "stack": [ "TypeError: Cannot read property 'experience' of undefined", " at DungeonsGenerator.generateClassProperties (/root/hypixel-skyblock-facade/build/generators/DungeonsGenerator.js:176:40)", " at DungeonsGenerator.build (/root/hypixel-skyblock-facade/build/generators/DungeonsGenerator.js:53:28)", " at Object.parseSkyBlockProfiles (/root/hypixel-skyblock-facade/build/utils/Hypixel.js:100:51)", " at /root/hypixel-skyblock-facade/build/routes/v1/GetProfileWithStrategy.js:9:30", " at runMicrotasks (<anonymous>)", " at processTicksAndRejections (internal/process/task_queues.js:93:5)" ] }
I think the issue might arise when a player is missing a dungeon class in the hypixel api response (he's missing tank):
You were right on point! Thanks for reporting the bug, it should be fixed now 👍
Url:
https://hypixel-api.senither.com/v1/profiles/781b200ae40543daa5038559f5947953/weight?key=<KEY>
Player: https://sky.shiiyu.moe/stats/simiboo/Orange
I think the issue might arise when a player is missing a dungeon class in the hypixel api response (he's missing tank):