Fixed bug with mw
This commit is contained in:
@@ -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
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user