Skip to content

fix: match island destinations across underscores and spaces - #3103

Open
dannyward630 wants to merge 1 commit into
BentoBoxWorld:developfrom
dannyward630:fix/3024-underscore-name-matching
Open

dannyward630 wants to merge 1 commit into
BentoBoxWorld:developfrom
dannyward630:fix/3024-underscore-name-matching

Conversation

@dannyward630

Copy link
Copy Markdown

What

  • Treat underscores as spaces when resolving /island go destination names, so happy_place matches Happy Place.
  • Keep exact matches first and reject ambiguous normalized names.
  • Add regression tests for successful normalization and ambiguous matches.

Follow-up for #3024.

Verification

  • gradlew.bat test --tests "world.bentobox.bentobox.api.commands.island.IslandGoCommandTest" — passed.
  • gradlew.bat test — 3,604 tests, 1 failed, 13 skipped. CommandRanksPanelTest.testGameModeTemplateOverrides(Path) fails on clean develop too (expected PAPER, got MAP).

Assisted by OpenAI Codex (GPT-6), consistent with BentoBox's AI policy.

This branch has not been deployed

No deployments
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