Renamed get to getById, map improvement

This commit is contained in:
2025-02-09 17:33:10 +01:00
parent 49dcd92a9e
commit a9cedba4e0
13 changed files with 44 additions and 26 deletions

View File

@ -31,7 +31,7 @@ export class CharacterTypeStorage extends BaseStorage<any> {
}
async getSpriteId(characterTypeId: string) {
const characterType = await this.get(characterTypeId)
const characterType = await this.getById(characterTypeId)
return characterType?.sprite
}
}
@ -42,7 +42,7 @@ export class CharacterHairStorage extends BaseStorage<any> {
}
async getSpriteId(characterTypeId: string) {
const characterType = await this.get(characterTypeId)
const characterType = await this.getById(characterTypeId)
return characterType?.sprite
}
}