geforkt von Mirrors/Paper
Use ANSI serializer for console completion descriptions (#9351)
Dieser Commit ist enthalten in:
Ursprung
8d5fa4f1ee
Commit
3477dbf4aa
@ -104,7 +104,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+
|
+
|
||||||
+ private static @NonNull Candidate toCandidate(final @NonNull Completion completion) {
|
+ private static @NonNull Candidate toCandidate(final @NonNull Completion completion) {
|
||||||
+ final String suggestionText = completion.suggestion();
|
+ final String suggestionText = completion.suggestion();
|
||||||
+ final String suggestionTooltip = PaperAdventure.PLAIN.serializeOr(completion.tooltip(), null);
|
+ final String suggestionTooltip = PaperAdventure.ANSI_SERIALIZER.serializeOr(completion.tooltip(), null);
|
||||||
+ return new Candidate(
|
+ return new Candidate(
|
||||||
+ suggestionText,
|
+ suggestionText,
|
||||||
+ suggestionText,
|
+ suggestionText,
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren