fix? #5222
This commit is contained in:
@@ -2315,7 +2315,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
* @return The title.
|
* @return The title.
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@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
|
+ // Paper end
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
|
|||||||
@@ -17,4 +17,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ * @return The title or empty string when title is {@code null}. <!-- Paper -->
|
+ * @return The title or empty string when title is {@code null}. <!-- Paper -->
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
public abstract net.kyori.adventure.text.Component title();
|
public /*abstract*/ net.kyori.adventure.text.Component title() {
|
||||||
|
|||||||
Reference in New Issue
Block a user