diff --git a/patches/api/0005-Adventure.patch b/patches/api/0005-Adventure.patch index 8a16624d49..23e70c0122 100644 --- a/patches/api/0005-Adventure.patch +++ b/patches/api/0005-Adventure.patch @@ -2499,7 +2499,7 @@ index c60e1fc1cad1b9889a508602df84840723b7b966..baf0887ec941533f8007f2c7f7ab78f1 throw new UnsupportedOperationException("Not supported yet."); } diff --git a/src/main/java/org/bukkit/entity/TextDisplay.java b/src/main/java/org/bukkit/entity/TextDisplay.java -index 766d6f001d4bc59cbe13d67f539bcae3fce67144..b12cb420f919aeafa8e41356f129f82a8e676505 100644 +index 766d6f001d4bc59cbe13d67f539bcae3fce67144..eff2ee74f4257b18dfc677e16e9ddf970e09a056 100644 --- a/src/main/java/org/bukkit/entity/TextDisplay.java +++ b/src/main/java/org/bukkit/entity/TextDisplay.java @@ -13,17 +13,37 @@ public interface TextDisplay extends Display { @@ -2527,7 +2527,7 @@ index 766d6f001d4bc59cbe13d67f539bcae3fce67144..b12cb420f919aeafa8e41356f129f82a + * + * @return the displayed text + */ -+ net.kyori.adventure.text.Component text(); ++ @NotNull net.kyori.adventure.text.Component text(); + + /** + * Sets the displayed text.