Skip to content

Commit

Permalink
Fix incorrect Dynmap player head URL generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JLyne committed Jul 29, 2021
1 parent 2ff16c8 commit f4aca39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/DynmapMapProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f4aca39

Please sign in to comment.