Skip to content

Show coordinates in map mode where BlueMap has no map (0.5.2) - #13

Merged
mgilardi merged 1 commit into
mainfrom
audit-fixes/map-mode-coords-fallback
Nov 28, 2026
Merged

mgilardi merged 1 commit into
mainfrom
audit-fixes/map-mode-coords-fallback

Conversation

@mgilardi

Copy link
Copy Markdown
Contributor

In map mode, a world with no BlueMap map showed nothing at all, not even coordinates. Now map mode falls back to the coordinate line, drawn as coordinates mode draws it and under the same auto-hide rules. /hud hide coords keeps it hidden and /hud off hides everything. It switches back to the minimap where there's a map. A world without a map is checked again every 10 seconds, so a map added later appears without a restart. /hud on and /hud mode map say what's happening there; those are new player-facing lines, so please review them. Player dots are untouched.

Tested: 77 unit tests, 8 of them new, and one fails on the old rule. Live groups coordsonly and dimensions passed 45/45 on a throwaway Paper 26.2 server with BlueMap 5.29, with the old no-map checks rewritten for the new behavior. Not tested: the full live suite, 26.1.2 and 26.3, the 10-second recheck without a BlueMap reload (unit test only), and a real client. Release notes are in docs/releases/v0.5.2.md. Not merged, tagged or released.

🤖 Generated with Claude Code

Map mode drew nothing at all in a world without a BlueMap map. It now
draws the coordinate line under the same rules as coordinates mode,
respecting /hud hide coords and /hud off, and goes back to the minimap
where there is a map. A world without a map is checked again every 10
seconds instead of being cached as mapless until a BlueMap reload.

Tested: unit tests (one new test fails on the old rule); live groups
coordsonly and dimensions 45/45 on Paper 26.2. Not tested: full live
suite, 26.1.2 and 26.3, a real client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mgilardi
mgilardi merged commit 3f7ff2b into main Nov 28, 2026
2 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.

1 participant