Fix incorrect Dynmap player head URL generation

This commit is contained in:
James Lyne 2021-07-29 19:05:33 +01:00
parent 2ff16c81ed
commit f4aca39975

View File

@ -794,7 +794,7 @@ export default class DynmapMapProvider extends MapProvider {
}
getPlayerHeadUrl(head: HeadQueueEntry): string {
const icon = (head.size === 'body') ? `faces/body/${head.name}.png` :`faces/${head.size}x${head.size}/${head.name}.png`
const icon = (head.size === 'body') ? `faces/body/${head.name}` :`faces/${head.size}x${head.size}/${head.name}`
return this.getMarkerIconUrl(icon);
}