Repository navigation
Show coordinates in map mode where BlueMap has no map (0.5.2) - #13
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 coordskeeps it hidden and/hud offhides 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 onand/hud mode mapsay 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
coordsonlyanddimensionspassed 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