🐛 Fix brigadier suggestion building
An offset will be added pointing to the last occurrence of a blank space. This fixes incorrect tab completions for greedy strings
This commit is contained in:
parent
5f466fcbc0
commit
06a34651bf
3 changed files with 26 additions and 3 deletions
|
|
@ -34,6 +34,7 @@ import java.util.LinkedList;
|
|||
* {@link Caption} instances for messages in cloud-bukkit
|
||||
*/
|
||||
public final class BukkitCaptionKeys {
|
||||
|
||||
private static final Collection<Caption> RECOGNIZED_CAPTIONS = new LinkedList<>();
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue