File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/paper/dev/api/command-api/basics Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ The following overloads of the `SuggestionsBuilder#suggest` method add values th
59
59
| suggest(int, Message) | Adds an int with a tooltip to the suggestions |
60
60
61
61
There are two ways of retrieving a ` Message ` instance:
62
- - Using ` LiteralMessage ` , which can be used for basic, non-formatted text
62
+ - Using ` LiteralMessage ` , which can be used for basic, non-formatted text.
63
63
- Using the ` MessageComponentSerializer ` , which can be used to serialize ` Component ` objects into ` Message ` objects.
64
64
65
65
For example, if you add a suggestion like this:
66
66
``` java
67
67
builder. suggest(" suggestion" , MessageComponentSerializer . message(). serialize(
68
- miniMessage(). deserialize(" <green>Suggestion tooltip" )
68
+ MiniMessage . miniMessage(). deserialize(" <green>Suggestion tooltip" )
69
69
));
70
70
```
71
71
You can’t perform that action at this time.
0 commit comments