diff --git a/Spigot-API-Patches/0005-Adventure.patch b/Spigot-API-Patches/0005-Adventure.patch index 7526de36c..24e4f0044 100644 --- a/Spigot-API-Patches/0005-Adventure.patch +++ b/Spigot-API-Patches/0005-Adventure.patch @@ -2301,10 +2301,10 @@ index 7a2a58bac8e721c3f0c64f69f77be07a51f76d58..29c5bd1f522310def76bf7b46a5b6146 /** diff --git a/src/main/java/org/bukkit/inventory/InventoryView.java b/src/main/java/org/bukkit/inventory/InventoryView.java -index 14346d83bc99581b18e53d19af03708c0bf22cf7..b6cbf23dd40fb1cb1fec3c7d6918438ebf5bcc2e 100644 +index 14346d83bc99581b18e53d19af03708c0bf22cf7..a4e3d526db2d17dc923cbe82e53d3c902d61e1f3 100644 --- a/src/main/java/org/bukkit/inventory/InventoryView.java +++ b/src/main/java/org/bukkit/inventory/InventoryView.java -@@ -446,11 +446,23 @@ public abstract class InventoryView { +@@ -446,11 +446,25 @@ public abstract class InventoryView { return getPlayer().setWindowProperty(prop, value); } @@ -2315,7 +2315,9 @@ index 14346d83bc99581b18e53d19af03708c0bf22cf7..b6cbf23dd40fb1cb1fec3c7d6918438e * @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 + + /** diff --git a/Spigot-API-Patches/0263-Return-chat-component-with-empty-text-instead-of-thr.patch b/Spigot-API-Patches/0263-Return-chat-component-with-empty-text-instead-of-thr.patch index 08a4d81fc..ae5787045 100644 --- a/Spigot-API-Patches/0263-Return-chat-component-with-empty-text-instead-of-thr.patch +++ b/Spigot-API-Patches/0263-Return-chat-component-with-empty-text-instead-of-thr.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Return chat component with empty text instead of throwing diff --git a/src/main/java/org/bukkit/inventory/InventoryView.java b/src/main/java/org/bukkit/inventory/InventoryView.java -index b6cbf23dd40fb1cb1fec3c7d6918438ebf5bcc2e..0c6d8172bea4c0aa6083259d31826a0a774b78c3 100644 +index a4e3d526db2d17dc923cbe82e53d3c902d61e1f3..2448e70d75ae7a678c6befac4506c103edb78875 100644 --- a/src/main/java/org/bukkit/inventory/InventoryView.java +++ b/src/main/java/org/bukkit/inventory/InventoryView.java @@ -450,7 +450,7 @@ public abstract class InventoryView { @@ -17,4 +17,4 @@ index b6cbf23dd40fb1cb1fec3c7d6918438ebf5bcc2e..0c6d8172bea4c0aa6083259d31826a0a + * @return The title or empty string when title is {@code null}. */ @NotNull - public abstract net.kyori.adventure.text.Component title(); + public /*abstract*/ net.kyori.adventure.text.Component title() {