This commit is contained in:
Riley Park
2021-02-22 06:15:22 -08:00
parent 3effca65b6
commit aaf508e621
2 changed files with 4 additions and 2 deletions

View File

@@ -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
+
+ /**