BlueMap-Minecraft / BlueMap

A Minecraft mapping tool that creates 3D models of your Minecraft worlds and displays them in a web viewer.
https://bluecolo.red/bluemap
MIT License
1.92k stars 131 forks source link

[5.0 snapshot] playerheads not working (png url returns 404) #549

Closed globau closed 5 months ago

globau commented 5 months ago

What I did / Steps to reproduce

Upgrade from 4.1 to 5.0

Expected result

Playerheads should be visible on the map

Actual result

Everyone is steve.

Context

BlueMap Version: BlueMap-5.0-paper.jar

The URL requested according to browser devtools is http://localhost:8100/maps/world/assets/playerheads/8a56e8f2-0bc0-42aa-8f20-7b9188d1efbc.png, which 404s:

$ curl -I http://localhost:8100/maps/world/assets/playerheads/8a56e8f2-0bc0-42aa-8f20-7b9188d1efbc.png
HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
Server: BlueMap/5.0

The file exists and is the expected png:

$ file bluemap/web/maps/world/assets/playerheads/8a56e8f2-0bc0-42aa-8f20-7b9188d1efbc.png
bluemap/web/maps/world/assets/playerheads/8a56e8f2-0bc0-42aa-8f20-7b9188d1efbc.png: PNG image data, 48 x 48, 8-bit/color RGBA, non-interlaced