diff --git a/package.json b/package.json index dab20fc..8cf5587 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "azerothcore-armory", - "version": "0.0.2", + "version": "0.0.3", "description": "", "scripts": { "build": "tsc -p tsconfig.json", diff --git a/src/armory/controllers/CharacterController.ts b/src/armory/controllers/CharacterController.ts index 0771265..28606b5 100644 --- a/src/armory/controllers/CharacterController.ts +++ b/src/armory/controllers/CharacterController.ts @@ -108,7 +108,11 @@ export class CharacterController { } private getModelViewerItems(equipmentData: IEquipmentData[]): number[][] { - const visibleEquipment = equipmentData.filter(item => [0, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 18].includes(item.slot)); + const visibleEquipment = equipmentData. + filter(item => + [0, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 18].includes(item.slot) && // visible slots + item.itemEntry !== 5976 // filter out Guild Tabard (displays blank otherwise) + ); const items: number[][] = []; for (const equipment of visibleEquipment) { diff --git a/static/character.html b/static/character.html index e69358e..c750c0b 100644 --- a/static/character.html +++ b/static/character.html @@ -1,5 +1,17 @@
+ + +
+ + + +
+ + + +
+ diff --git a/static/css/armory.css b/static/css/armory.css index a1437ae..903b25b 100644 --- a/static/css/armory.css +++ b/static/css/armory.css @@ -1,3 +1,8 @@ html { background-color: #202124; + color: white; +} + +#model { + margin-bottom: 16px; }