Fix incorrect Dynmap player head URL generation
This commit is contained in:
parent
2ff16c81ed
commit
f4aca39975
@ -794,7 +794,7 @@ export default class DynmapMapProvider extends MapProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getPlayerHeadUrl(head: HeadQueueEntry): string {
|
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);
|
return this.getMarkerIconUrl(icon);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user