fix errors

This commit is contained in:
smthbh 2025-04-28 14:27:37 -04:00
parent 836df77375
commit 29d76e8a75

View file

@ -91,12 +91,12 @@ interface IReputation {
} }
interface IQuest { interface IQuest {
id: number; id: number;
title: string; title: string;
status: 'Completed' | 'In Progress'; status: 'Completed' | 'In Progress';
level: number; level: number;
questLevel: number; questLevel: number;
questSortID: number; questSortID: number;
} }
const ItemClassGem = 3; const ItemClassGem = 3;
@ -552,7 +552,7 @@ export class CharacterController {
} }
private getZoneName(zoneId: number): string { private getZoneName(zoneId: number): string {
this.areaById[zoneId]?.zoneName this.areaById[zoneId]?.zoneName;
return this.areaById[zoneId]?.zoneName || `Zone ${zoneId}`; return this.areaById[zoneId]?.zoneName || `Zone ${zoneId}`;
} }
@ -583,7 +583,7 @@ export class CharacterController {
"-371": "Inscription", "-371": "Inscription",
"-373": "Jewelcrafting", "-373": "Jewelcrafting",
"-762": "Riding", "-762": "Riding",
// Misc // Misc
"-1": "Epic", "-1": "Epic",
"-21": "Wailing Caverns", "-21": "Wailing Caverns",
"-22": "Seasonal", "-22": "Seasonal",