mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
fix? #5222
This commit is contained in:
parent
3effca65b6
commit
aaf508e621
2 changed files with 4 additions and 2 deletions
|
@ -2315,7 +2315,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
* @return The title.
|
||||
*/
|
||||
@NotNull
|
||||
+ public abstract net.kyori.adventure.text.Component title();
|
||||
+ public /*abstract*/ net.kyori.adventure.text.Component title() {
|
||||
+ return net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer.legacySection().deserialize(this.getTitle());
|
||||
+ }
|
||||
+ // Paper end
|
||||
+
|
||||
+ /**
|
||||
|
|
|
@ -17,4 +17,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ * @return The title or empty string when title is {@code null}. <!-- Paper -->
|
||||
*/
|
||||
@NotNull
|
||||
public abstract net.kyori.adventure.text.Component title();
|
||||
public /*abstract*/ net.kyori.adventure.text.Component title() {
|
||||
|
|
Loading…
Reference in a new issue