Skip to content

Use undashed UUIDs for skin profile requests#802

Merged
TBlueF merged 1 commit into
BlueMap-Minecraft:masterfrom
laroon-lili:codex/littleskin-yggdrasil-uuid
May 23, 2026
Merged

Use undashed UUIDs for skin profile requests#802
TBlueF merged 1 commit into
BlueMap-Minecraft:masterfrom
laroon-lili:codex/littleskin-yggdrasil-uuid

Conversation

@laroon-lili
Copy link
Copy Markdown
Contributor

Summary

Use the undashed UUID form when requesting player profile data from the Mojang session server in MojangSkinProvider.

Why

The session profile endpoint commonly expects UUIDs without hyphens. Using UUID.toString() sends the dashed form, which can fail with Yggdrasil-compatible/session-server implementations that only accept the canonical undashed profile id format. In that case BlueMap cannot download the skin and never writes the playerhead asset.

This keeps BlueMap's internal UUID handling and playerhead asset names unchanged; it only normalizes the UUID for the outbound session profile request.

Testing

  • Built the NeoForge release jar from the v5.7 codebase with Java 21:
    ./gradlew :neoforge:release --no-daemon
  • Deployed the patched NeoForge jar on a NeoForge 1.21.1 server using authlib-injector/LittleSkin.
  • Confirmed BlueMap loads successfully after the change.

@laroon-lili laroon-lili force-pushed the codex/littleskin-yggdrasil-uuid branch from 27b7ada to b252451 Compare May 13, 2026 09:11
@TBlueF TBlueF merged commit 8e18f43 into BlueMap-Minecraft:master May 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants