Add missing annotation

This commit is contained in:
Jake Potrebic 2023-03-14 17:08:41 -07:00
parent 3e54639d9c
commit b93379bd7f
No known key found for this signature in database
GPG Key ID: ECE0B3C133C016C5

View File

@ -2499,7 +2499,7 @@ index c60e1fc1cad1b9889a508602df84840723b7b966..baf0887ec941533f8007f2c7f7ab78f1
throw new UnsupportedOperationException("Not supported yet."); 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 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 --- a/src/main/java/org/bukkit/entity/TextDisplay.java
+++ b/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 { @@ -13,17 +13,37 @@ public interface TextDisplay extends Display {
@ -2527,7 +2527,7 @@ index 766d6f001d4bc59cbe13d67f539bcae3fce67144..b12cb420f919aeafa8e41356f129f82a
+ * + *
+ * @return the displayed text + * @return the displayed text
+ */ + */
+ net.kyori.adventure.text.Component text(); + @NotNull net.kyori.adventure.text.Component text();
+ +
+ /** + /**
+ * Sets the displayed text. + * Sets the displayed text.