removed unused code and improved imports

This commit is contained in:
2019-09-11 15:07:54 +02:00
parent d78bf6b366
commit e12f135d36
2 changed files with 2 additions and 8 deletions
@@ -530,12 +530,6 @@ export class ChatLog implements AfterViewInit, OnDestroy, DoCheck {
}
return hsl;
}
fixColor(color: string) {
while (color.length <= 7) {
color = `0${color}`;
}
return color.substr(0, 6);
}
private getCharacterColors(id: number | undefined) {
if (!id) return;
const entity = findEntityById(this.game.map, id) as Pony;