Fix Player#playerListName nullability annotation (#6089)
This commit is contained in:
parent
cc063e1f09
commit
8fe561162e
1 changed files with 2 additions and 2 deletions
|
@ -1331,7 +1331,7 @@ index 25a6f9313a1953def7470e411b53016f2ca14bef..d7a4cfed4f46b34f83fb2c07bdab5a71
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||||||
index edf4623a831442e1f06daabc402a3f32610dd519..d026c791ee86cb45feadcad7a48dea41287e3da7 100644
|
index edf4623a831442e1f06daabc402a3f32610dd519..8ed69c4be84db742f2ff53adfd40f9eb8823e02d 100644
|
||||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||||
@@ -33,7 +33,28 @@ import org.jetbrains.annotations.Nullable;
|
@@ -33,7 +33,28 @@ import org.jetbrains.annotations.Nullable;
|
||||||
|
@ -1398,7 +1398,7 @@ index edf4623a831442e1f06daabc402a3f32610dd519..d026c791ee86cb45feadcad7a48dea41
|
||||||
+ *
|
+ *
|
||||||
+ * @return the player list name
|
+ * @return the player list name
|
||||||
+ */
|
+ */
|
||||||
+ @Nullable net.kyori.adventure.text.Component playerListName();
|
+ @NotNull net.kyori.adventure.text.Component playerListName();
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
+ * Gets the currently displayed player list header for this player.
|
+ * Gets the currently displayed player list header for this player.
|
||||||
|
|
Loading…
Reference in a new issue