Fix incorrect player head URL (Fixes #2)
This commit is contained in:
parent
5ea16aedd8
commit
eba8a5b7e1
@ -796,7 +796,7 @@ export default class DynmapMapProvider extends MapProvider {
|
|||||||
getPlayerHeadUrl(head: HeadQueueEntry): string {
|
getPlayerHeadUrl(head: HeadQueueEntry): string {
|
||||||
const icon = (head.size === 'body') ? `faces/body/${head.name}` :`faces/${head.size}x${head.size}/${head.name}`
|
const icon = (head.size === 'body') ? `faces/body/${head.name}` :`faces/${head.size}x${head.size}/${head.name}`
|
||||||
|
|
||||||
return this.getMarkerIconUrl(icon);
|
return `${this.config.dynmap!.markers}${icon}.png`;
|
||||||
}
|
}
|
||||||
|
|
||||||
getMarkerIconUrl(icon: string): string {
|
getMarkerIconUrl(icon: string): string {
|
||||||
|
Loading…
Reference in New Issue
Block a user