Fixed bug with mw

This commit is contained in:
2025-09-08 14:19:24 +02:00
parent 01b0808a8c
commit 0dd9313666
2 changed files with 8 additions and 5 deletions

View File

@@ -53,8 +53,8 @@ export function megaWalsClassStats(classId: typeof CLASSES[number]["id"], stats:
stats[`${classId}_wins`],
stats[`${classId}_losses`],
devide(stats[`${classId}_wins`], stats[`${classId}_deaths`]),
stats.classes === undefined ? 0 : stats.classes[classId].prestige,
stats.classes === undefined ? 0 : stats.classes[classId].enderchest_rows
stats.classes?.[classId]?.prestige || 0,
stats.classes?.[classId]?.enderchest_rows || 0
]
}