Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab-complete for arena names doesn't work properly #8

Closed
datatags opened this issue Nov 13, 2023 · 1 comment
Closed

Tab-complete for arena names doesn't work properly #8

datatags opened this issue Nov 13, 2023 · 1 comment

Comments

@datatags
Copy link

datatags commented Nov 13, 2023

Description of Issue

When using a command that should tab-complete an arena name (for example /oitc join,) and typing a partial arena name, arenas not matching the partial name are not filtered out. This doesn't match the behavior of the /oitc base command, where tab-completing on /oitc e will filter out everything except the edit subcommand.

Steps to Reproduce

  1. Create some arenas. For example, I have Bowser_Land, Castle_Turret_Tumble, Colosseum, Crazy_Cakes, Crystal_Caves, DeepDarkMansion, Extreme_War, Legacy_Cove, MoonBase, and Pyramid_Panic.
  2. Type /oitc join and then the first few letters of an arena name, without pressing enter. With my arena set, I used /oitc join Cr
  3. Observe that non-matching arena names are not filtered out. With my arena set, only Crazy_Cakes and Crystal_Caves should remain.

OITC Version

2.5.0

Server Version

This server is running Paper version git-Paper-290 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT) (Git: f186318)

Stack Trace/Log Files/Crash Reports

N/A

Additional Information

Tab-complete for /oitc stats and /oitc top also behave strangely, but they're usable. Instead of filtering out the ones that don't match, it seems it just brings the closest match to the top (selecting it,) which is fascinating and unusual but fairly intuitive.

@Despical
Copy link
Owner

Again sorry for the delay, now it should be fixed.

image

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

No branches or pull requests

2 participants