Commit 4d2e4a3
authored
fix: tab completion for /plot grant add/check <name> commands (#4720)
Fix tab completion for /plot grant add/check <name> commands
Fixed an issue where player name tab completion was not working correctly
for /plot grant add <name> and /plot grant check <name> commands.
Previously, the tab completion logic would only attempt to complete player
names after all arguments were processed, making it impossible to get
player suggestions when typing the second argument.
Now the completion properly handles:
- /plot grant <TAB> → shows "add", "check" subcommands
- /plot grant add <TAB> → shows player list
- /plot grant check <TAB> → shows player list
Fixes #43821 parent e5d3657 commit 4d2e4a3
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
180 | 186 | | |
181 | | - | |
| 187 | + | |
182 | 188 | | |
183 | 189 | | |
184 | 190 | | |
0 commit comments