From f4aca39975c007e63ac2b41eebd27e99933d7802 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Thu, 29 Jul 2021 19:05:33 +0100 Subject: [PATCH] Fix incorrect Dynmap player head URL generation --- 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 da344754..ae1d32f8 100644 --- a/src/providers/DynmapMapProvider.ts +++ b/src/providers/DynmapMapProvider.ts @@ -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); }