From eba8a5b7e1744ef05b2e057ea414b2bb4e5a53aa Mon Sep 17 00:00:00 2001 From: James Lyne Date: Mon, 2 Aug 2021 17:12:29 +0100 Subject: [PATCH] Fix incorrect player head URL (Fixes #2) --- src/providers/DynmapMapProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/DynmapMapProvider.ts b/src/providers/DynmapMapProvider.ts index ae1d32f..d3be382 100644 --- a/src/providers/DynmapMapProvider.ts +++ b/src/providers/DynmapMapProvider.ts @@ -796,7 +796,7 @@ export default class DynmapMapProvider extends MapProvider { getPlayerHeadUrl(head: HeadQueueEntry): string { 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 {